jquery - Radio button onclick - change span content -


Is it possible to do jQuery with AJAX?

I want to change my content & lt; Input class = "unitSelectInches" type = "radio" name = "units" value = "<"> Inch "/> Input class =" unitSelectCenti "type =" radio "name =" units "value =" centi "/> centimeter

Selecting will change this period to say "inch" and centimeter also ...

   Inch & lt; / span & gt; Maybe you are skeptical, jQuery and Ajax 2 are different things you just need to do with your need. Need jQuery for, Ajax is not related at all.  

Please try it

  $ ('Inp Change (work () {$ ('. UnitLabel'). Text (This.value);})  

< / Div>

Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -