| | |
Hi Friends
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Feb 2009
Posts: 1
Reputation:
Solved Threads: 0
here i have small issue. pls sort it out 4 me soon n be thankful 4 u
here there is no submit button or form. Actually am calling 2 functions for two divs.Its fine even if one function is used by u.
But what i required here is , i should pass both div values ie., dropdown value and radio button value in to a single function. so how to get this two values .
html Syntax (Toggle Plain Text)
<div id="div1"> <input type="radio" name="radio" id="radio" value="150" onclick="return displayCost(this.value);" /> </div> <div id="div2"> <select name="select2" size="1" id="select2" onchange="return calculateCost(this.value);"> <option>1</option> <option>2</option> <option>3</option> <option>4</option> </select>Pages </div>
here there is no submit button or form. Actually am calling 2 functions for two divs.Its fine even if one function is used by u.
But what i required here is , i should pass both div values ie., dropdown value and radio button value in to a single function. so how to get this two values .
Last edited by peter_budo; Feb 25th, 2009 at 5:42 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
•
•
Join Date: Jan 2008
Posts: 2,052
Reputation:
Solved Threads: 123
•
•
•
•
here i have small issue. pls sort it out 4 me soon n be thankful 4 u
html Syntax (Toggle Plain Text)
<div id="div1"> <input type="radio" name="radio" id="radio" value="150" onclick="return displayCost(this.value);" /> </div> <div id="div2"> <select name="select2" size="1" id="select2" onchange="return calculateCost(this.value);"> <option>1</option> <option>2</option> <option>3</option> <option>4</option> </select>Pages </div>
here there is no submit button or form. Actually am calling 2 functions for two divs.Its fine even if one function is used by u.
But what i required here is , i should pass both div values ie., dropdown value and radio button value in to a single function. so how to get this two values .
Due to lack of freedom of speech, i no longer post on this website.
![]() |
Similar Threads
- Hi Friends (Community Introductions)
- Hi Friends (Community Introductions)
- Hi friends, Iam new. (Community Introductions)
- Help with Home Search Assistent and friends (Viruses, Spyware and other Nasties)
- Please help my friends computer (Viruses, Spyware and other Nasties)
- Trying to find a way to boost my friends wireless connection (Networking Hardware Configuration)
- hi friends pls help me out (C++)
- Need help friends comp is full of junk (Viruses, Spyware and other Nasties)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Setting Javascript Calendar to European Time Format
- Next Thread: Javascript expand
Views: 494 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for JavaScript / DHTML / AJAX
acid2 ajax ajaxcode ajaxhelp animate array automatically autoplay beta boarder box bug button calendar captcha card cart codes column cookies createrange() css cursor date debugger decimal design developer dom download dropdown element enter error events firefox firehose flash focus form frameworks getselection google gwt html htmlform iframe image() images index java javascript javascripts jawascriptruntimeerror jquery jsp listbox maps marquee masterpage menu microsoft mimic mp3 mp4 offline onmouseover parameters php player post problem programming prototype rating redirect regex safari scale scriptlets search select size sources sql starrating text textarea toggle twitter validation variables w3c web website window windowofwords windowsxp xml xspf






