Friday 15 April 2011

javascript - Display a pop-up on radio button click -


Please use the JQuery to open pop-ups on the click of a radio button, please tell me Im currently a Spring MVC and JSTL Using the following code for a radio button

  & lt; Label class = "" & gt; & Lt; Form: Radioboton path = "" value = "" but "=" "/> & lt; Label class = "style =" "& gt; & Lt; Spring: Message code = "" /> gt; & Lt; / Labels & gt; & Lt; / Labels & gt;   

Many thanks

I hope this is your problem Will solve

  onchange = "window.open (" http://www.stackoverflow.com ", width = 200, height = 100);" /> Deleting a class is a trick.   

EDIT1: Hide

jQuery: $ (document) .ready (function () {$ ('input [type = "radio"]'). Click (function () {$ ( '# R'). RemoveClass ("hide");});});

HTML:

  & lt; Input type = 'radio' & gt; SO & lt; Div id = "r" option = "#" class = "hide modal" tabindex = "- 1" role = "dialog" style = "background color: #ccc; height: 100px; width: 350px" & gt; ; & Lt; / Div & gt;   

EDIT2:

If you check my HTML code, you should enter an ID The div can be stopped to display "R" (unique selector) and class name "hide". is div hidden then

When the radio button clicks, using the we remove "hide" the square from which it is given Are there.

Check it out

Hope you understand.

No comments:

Post a Comment