User Profile
Collapse
-
a million dollar thanks to you. It finally worked. -
hey can you help me by writing an event listener because i am beginner. I copied the java script code from somewhere, i don't know where i add even listener code.Leave a comment:
-
How to use windows onload fuction twice in a same page
I have a java script which I used for passing check boxes values to text box. But it does not work if i use it twice in a same page. How can I use it many times in a same page?
Code:<script type="text/javascript"> window.onload=function(){ var textbox = document.getElementsByName("textname")[0]; var checkboxes = document.getElementsByName("checkboxname");
-
If i use name attribute for eg: name=ball[] . It will create 5 rows for 5 checkboxs. But i want one row for all values of checkbox. I found the javascript which works for only one group of checkboxes. Can u help me to modify the code? Can u give me a javascript for next group fruit?
Code:<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
Last edited by Dormilich; Sep 26 '13, 09:51 AM. Reason: Please use [CODE] [/CODE] tags when posting code.Leave a comment:
-
passing multipe checkbox values to textbox
Hi I have 3 groups of checkbox. One is for fruit platter, cake platter, wraps, .each has 7 checkboxes. I want to add unlimited number of groups and keep checkboxes. So i need a javascript to pass checkbox values to textbox so i can upload to mysql database. For eg:for fruit platter: apple, orange,kiwi fruit, etc. I found couple of javascripts but it works for only one group or one bunch of checkboxes. and i have multiple groups.So i need one javascript...
No activity results to display
Show More
Leave a comment: