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 Quote Link to comment 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. Quote Link to comment 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 .... Quote Link to comment 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"); }); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.