nasi Posted April 14, 2011 Share Posted April 14, 2011 HiI open a web browser using popWin.document.write('<a href=...) , this web page contains multiple links. I want to add check boxes close to each link that users can select any of them. can you please let me know how I should do that?Thanks Link to comment Share on other sites More sharing options...
birbal Posted April 14, 2011 Share Posted April 14, 2011 http://w3schools.com/tags/att_input_type.asphttp://w3schools.com/html/html_forms.aspyou may to check it for checkbox related info Link to comment Share on other sites More sharing options...
nasi Posted April 14, 2011 Author Share Posted April 14, 2011 http://w3schools.com/tags/att_input_type.asphttp://w3schools.com/html/html_forms.aspyou may to check it for checkbox related infothanks for links. I know how to create a form with check boxes. what I need is to create check boxes in an existing web page. for example suppose that I display the results of a google search to the user which consists of different links. I want to add check box beside any of the links to enable users to select their favorite links or to have an option like "bookmark me" besides and of the links. Link to comment Share on other sites More sharing options...
jeffman Posted April 14, 2011 Share Posted April 14, 2011 Are you asking about checkboxes or how to save user preferences?I personally think it's rude to mess with user's bookmarks. I assume that if a user wants a new bookmark, they will do so. Right-clicking a mouse is pretty easy. Link to comment Share on other sites More sharing options...
nasi Posted April 15, 2011 Author Share Posted April 15, 2011 Are you asking about checkboxes or how to save user preferences?I personally think it's rude to mess with user's bookmarks. I assume that if a user wants a new bookmark, they will do so. Right-clicking a mouse is pretty easy.I want to save user preferences. right click is a good idea but I don't know how I can access users' favorites. I need to know which links they select. Link to comment Share on other sites More sharing options...
jeffman Posted April 15, 2011 Share Posted April 15, 2011 Have you looked into cookies? Link to comment Share on other sites More sharing options...
nasi Posted April 16, 2011 Author Share Posted April 16, 2011 Have you looked into cookies?I don't know how to extract the selected links by users from cookies. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.