Page 1 of 1

how to access radio button using inside custom java script

Posted: Sun Dec 02, 2012 4:46 pm
by rammohan.acharyadasa

i have tiggzi radio group.name 'mobileradiogroup3'
inside radio group,i have 3 radio buttons named 'mobileradiobutton7','mobileradiobutton8','mobileradiobutton9'
i want to hide radio button mobileradiobutton7' 'based on some condition in side custom javascript.
how to access radio button in side custom javascript .
i tried
$('span[dsid="mobileragiobutton7"]'), but not working.
in mozilla fireBug, it is showing as attached image
pls see below image.

Image


how to access radio button using inside custom java script

Posted: Mon Dec 03, 2012 1:07 am
by maxkatz

If it's not working, then the query is not correct. You need to make sure you select the right element in the DOM.


how to access radio button using inside custom java script

Posted: Mon Dec 03, 2012 4:06 am
by rammohan.acharyadasa

marina
can u please help on this


how to access radio button using inside custom java script

Posted: Mon Dec 03, 2012 4:42 am
by maxkatz

As I mentioned above, you need to test your query and make sure it's correct (it has nothing to do with Tiggzi builder). You have a typo in the query:

$('span[dsid="mobileragiobutton7"]')

should be

$('span[dsid="mobileradiobutton7"]')


how to access radio button using inside custom java script

Posted: Mon Dec 03, 2012 8:36 am
by rammohan.acharyadasa

thanks a lot max
I agree
now it is working