User Profile

Collapse

Profile Sidebar

Collapse
anonymousstar
anonymousstar
Last Activity: Mar 22 '10, 08:20 PM
Joined: Mar 2 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Hi, Just thought it would help if I attached the warning I get when I submit the form. This appears twice and this is what I am trying to get rid of....
    See more | Go to post

    Leave a comment:


  • Is it possible to give me an example of how I might do this using the code above?

    Thanks
    See more | Go to post

    Leave a comment:


  • Changing Client side JS to Server Side JS

    Hi, I was wondering if I can get some help with changing client side javascript to server side javascript. I have a survey connected to an Enterprise Manager SQL database. My code works and the database is updated successfully but I get a warning message

    "This Website uses a data provider that may be unsafe. If you trust the website click OK otherwise click cancel."

    This warning happens twice which I understand...
    See more | Go to post

  • anonymousstar
    replied to getElementByID/parameters problem
    Fantastic works a treat. Thank you both for your help and time it is much appreciated....
    See more | Go to post

    Leave a comment:


  • anonymousstar
    replied to getElementByID/parameters problem
    LOL. I did think it could be my mouse but the first cell changes fine with one click and goes back to green when I click it again. The problem is when I want to click another cell in the same row to yellow as well. I would need to click a maximum of 4 cells left or right at a time....
    See more | Go to post

    Leave a comment:


  • anonymousstar
    replied to getElementByID/parameters problem
    I have one last question... sorry. the code is working fine but it takes a lot of clicks to change the cell from green to yellow and I need it to be one click.

    does it have something to do with thes part of the code?

    Code:
    !!selected ?
    whole line of code:

    Code:
    var selected = 0;
    objTD.style.backgroundColor = !!selected ? "#FFFF00" : "#009933";
    Thanks in a...
    See more | Go to post

    Leave a comment:


  • anonymousstar
    replied to getElementByID/parameters problem
    Thank you, I had to change the variable to 0 and swap the colours around so that every time it showed yellow it would say selected.


    Thanks everyone for your help.

    Kind Regards...
    See more | Go to post
    Last edited by anonymousstar; May 15 '08, 03:12 PM. Reason: spelling

    Leave a comment:


  • anonymousstar
    replied to getElementByID/parameters problem
    Hi Thanks for your advice and sorry about the code tags. I have done what you have suggested and I am getting all the parameters and their values which is great, but when I click on a single or multiple cells I am unable to identify which ones has been selected. I need to change the value or concatenate "selected" onto the value so I know which one I have clicked. I have tried numerous codes but to no avail.

    One code I tried,...
    See more | Go to post
    Last edited by anonymousstar; May 15 '08, 10:44 AM. Reason: spelling

    Leave a comment:


  • anonymousstar
    replied to getElementByID/parameters problem
    Do you mean

    var selected = #FFFF00;...
    See more | Go to post

    Leave a comment:


  • anonymousstar
    replied to getElementByID/parameters problem
    Thanks for that, it changes colour which is great but it still is not passing the values i.e the cells that have been selected. I checked the "stdout" file but nothing. Anything else would be great or if it should work an explanation of the code would be useful as well.

    Thanks...
    See more | Go to post

    Leave a comment:


  • anonymousstar
    started a topic getElementByID/parameters problem

    getElementByID/parameters problem

    Hi All,

    I have searched the forums to see if I can find an answer to my question but to no avail.

    I have a form below with a 3 x 3 cell. Each of these cells change from green to yellow if selected and back to green if unselected. What I would like to do is when I press the continue button the cells I have clicked will have "selected" concatenated onto the ID name so that I can see which cells the user has selected....
    See more | Go to post
    Last edited by acoder; May 14 '08, 12:56 PM. Reason: Added code tags

  • Copying cell contents (text) into an input field

    Hi Everyone,

    I am creating a search facility that holds titles and SKU numbers. When the results appear in a 2 column table I would like the title to go into an input (readonly) field and the SKU to go into a different input field. I have the code below to help visualise what I am trying to do.

    I think what I want is similar to a calendar where you can select the date you want and it appears in an input field - this...
    See more | Go to post
    Last edited by acoder; Mar 26 '08, 03:28 PM. Reason: Added code tags

  • anonymousstar
    replied to Hidden Values
    Fantastic
    Thank you for your help. It really is appreciated....
    See more | Go to post

    Leave a comment:


  • anonymousstar
    replied to Hidden Values
    Hiya,

    Thank you for your welcome.

    The user will need to select a different part of a calendar which will be a new page and not submitted so I think cookies will be the best answer as I assume it will hold the values until he confirms the dates.

    What I wanted to know is how to change the value of the hidden field so that I can see what the user has selected. 1,2 is the co-ordinates of the cell. row 1, cell...
    See more | Go to post

    Leave a comment:


  • anonymousstar
    started a topic Hidden Values

    Hidden Values

    Hi all,

    I am new to these forums and decided to join one (this one) after 5 days of researching to try and solve my problem.

    I am creating a booking type of calendar. It will be run by an oracle database. From the front end a user will see all the dates that are available (green cells), dates that are pending (orange cells) and dates that are booked (red cells); the user will then click on the dates that are available...
    See more | Go to post
    Last edited by acoder; Mar 2 '08, 01:42 PM. Reason: Added code tags
No activity results to display
Show More
Working...