User Profile
Collapse
-
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.... -
Is it possible to give me an example of how I might do this using the code above?
ThanksLeave 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... -
Fantastic works a treat. Thank you both for your help and time it is much appreciated....Leave a comment:
-
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....Leave a comment:
-
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?
whole line of code:Code:!!selected ?
Thanks in a...Code:var selected = 0; objTD.style.backgroundColor = !!selected ? "#FFFF00" : "#009933";
Leave a comment:
-
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...Leave a comment:
-
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,...Leave a comment:
-
-
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...Leave a comment:
-
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.... -
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... -
Fantastic
Thank you for your help. It really is appreciated....Leave a comment:
-
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...Leave a comment:
-
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...
No activity results to display
Show More
Leave a comment: