djbuddhi Posted August 5, 2010 Share Posted August 5, 2010 I want to assign a text box value equla to zero when click on a radio button ...how to do that Link to comment https://forums.phpfreaks.com/topic/209904-help-in-jquery/ Share on other sites More sharing options...
JasonLewis Posted August 5, 2010 Share Posted August 5, 2010 Have you tried? I would do something like this: $("#radio-button").click(function(){ $("#text-box").val(""); }); Hard to help when you don't provide info on if you've tried a few methods, provide any HTML code relevant etc. Link to comment https://forums.phpfreaks.com/topic/209904-help-in-jquery/#findComment-1095671 Share on other sites More sharing options...
djbuddhi Posted August 6, 2010 Author Share Posted August 6, 2010 i want to make the text box value equal to zero .... Link to comment https://forums.phpfreaks.com/topic/209904-help-in-jquery/#findComment-1095825 Share on other sites More sharing options...
trq Posted August 6, 2010 Share Posted August 6, 2010 You mean you want someone one of us to make the text box value equal zero? $("#radio-button").click(function(){ $("#text-box").val("0"); }); Link to comment https://forums.phpfreaks.com/topic/209904-help-in-jquery/#findComment-1095832 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.