AndyPSV Posted December 7, 2011 Share Posted December 7, 2011 http://jsfiddle.net/k9fFs/2/ if it would be ONE "remove" (clicked) __ or __ NOT EMPTY "#mail" button needs to activate on #mail, you've got (working) code <script type='text/javascript'> jQuery(function($){ $('#mail').bind("focus blur change keyup",function(){var val=this.value;$(".smail").prop("disabled",!this.value)}).blur(); }); </script> but how to attach code, that when the one "remove" would be at least pressed (clicked/ "on"), the button would activate? Quote Link to comment https://forums.phpfreaks.com/topic/252688-jquery-deactivation-of-button-after-clicking/ Share on other sites More sharing options...
ignace Posted December 7, 2011 Share Posted December 7, 2011 Keep this up AndyPSV, and you'll find all your marketing work in the vicinity of /dev/null Yes, that means you have been reported. THIS SHIT DON'T STICK HERE! Quote Link to comment https://forums.phpfreaks.com/topic/252688-jquery-deactivation-of-button-after-clicking/#findComment-1295428 Share on other sites More sharing options...
AndyPSV Posted December 8, 2011 Author Share Posted December 8, 2011 I've came here for help, not to advertise anything. I don't sell anything. If the link under my posts was an issue to you - I've deleted it. Still, didn't received the answers I've wanted to. Your posts have too been reported. Quote Link to comment https://forums.phpfreaks.com/topic/252688-jquery-deactivation-of-button-after-clicking/#findComment-1295677 Share on other sites More sharing options...
trq Posted December 8, 2011 Share Posted December 8, 2011 8 topics within 20 minutes of each other does indeed wreak of spam. Glad to see you removed your signature. As for your question, this thread in particular is unreadable. Quote Link to comment https://forums.phpfreaks.com/topic/252688-jquery-deactivation-of-button-after-clicking/#findComment-1295684 Share on other sites More sharing options...
AndyPSV Posted December 8, 2011 Author Share Posted December 8, 2011 I've translated 6 or 8 posts from polish forums which hadn't been answer, because either nobody knew the answer or didn't read them/ didn't wanted to reply (they've remained unanswered). If you don't believe you can follow: http://forum.webhelp.pl/search.php?keywords=AndyPSV&x=0&y=0 ---- backing to topic. http://jsfiddle.net/k9fFs/2/ <- if one <li> would be clicked and stay as "remove" OR would not be empty input "#mail" -> I want to activate the button I've got only code for the #mail button, but I don't know how to combine it (or what action trigger) Quote Link to comment https://forums.phpfreaks.com/topic/252688-jquery-deactivation-of-button-after-clicking/#findComment-1295705 Share on other sites More sharing options...
AndyPSV Posted December 12, 2011 Author Share Posted December 12, 2011 http://jsfiddle.net/AndyPSV/k9fFs/7/ <- updated example. 1. please click "Add new email" 2. type something -> the button activates what I want is the same action (of activating button) when ONE of the "remove" would be clicked (& stay as "undo") Quote Link to comment https://forums.phpfreaks.com/topic/252688-jquery-deactivation-of-button-after-clicking/#findComment-1297209 Share on other sites More sharing options...
AndyPSV Posted December 12, 2011 Author Share Posted December 12, 2011 somebody done it on pl forums: http://jsfiddle.net/k9fFs/11/ cheers Quote Link to comment https://forums.phpfreaks.com/topic/252688-jquery-deactivation-of-button-after-clicking/#findComment-1297224 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.