Welcome visitor
* Login
* Register
It is currently January 17th, 2019, 12:31 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  checkbox selected
PostPosted: April 17th, 2009, 11:10 pm 
User avatar

Posts: 70
hi, my question is similar to the previous thread. I have a list of checkboxes for URLS and what im doing is i want to show as selected the current URL, any idea on how to do it? thanks.


Top
 Profile  
 
  Re: checkbox selected
PostPosted: April 18th, 2009, 12:12 am 

Posts: 55
http://scriptingok.com/forum/viewtopic.php?f=5&t=244&view=next for javascript. Once that you know the page where you are at and the id of the checkbox you should select and or unselect, use these syntax:
document.getElementById('checkboxOne').checked=true;
document.getElementById('checkboxOne').checked=false;


But think about server side language, that would be easier and you would also have more control over your options. Tell us if you need help with that.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron