jones2310 1 Hey i wana add a cooldown for my buttons on my alt gen website, and i think this is the codePush Me! This button has a cool down of 30s until re-enabled but idk if its the right one and how/where i need to put it can anyone help me pleas? Quote Share this post Link to post Share on other sites
mesvak 362 you needa do that in php with php script i will give u the script but about where u needa add it do u have mysql or something that manage ur data just send me the sc of the site or panel u using Quote Share this post Link to post Share on other sites
владимир 72 @mesvak you dont need php retard, use javascript Quote Share this post Link to post Share on other sites
jones2310 1 you needa do that in php with php script i will give u the script but about where u needa add it do u have mysql or something that manage ur data just send me the sc of the site or panel u using I use ftp to edit my website... Quote Share this post Link to post Share on other sites
mesvak 362 @mesvak you dont need php retard, use javascript u are so fucking dumb man js is much harder then php and php is direct code doesnt need any other shit to be added and fag if u wanna include js u needa include it in html and make a new js thats a lot of work for beginer php is better fag FOr the simple code never use js you needa do that in php with php script i will give u the script but about where u needa add it do u have mysql or something that manage ur data just send me the sc of the site or panel u using I use ftp to edit my website... send me screen what files u have U have index And something else do u have login page or something send me sc of ur files Quote Share this post Link to post Share on other sites
владимир 72 @mesvak you dont need php retard, use javascript u are so fucking dumb man js is much harder then php and php is direct code doesnt need any other shit to be added and fag if u wanna include js u needa include it in html and make a new js thats a lot of work for beginer php is better fag FOr the simple code never use js you needa do that in php with php script i will give u the script but about where u needa add it do u have mysql or something that manage ur data just send me the sc of the site or panel u using I use ftp to edit my website... send me screen what files u have U have index And something else do u have login page or something send me sc of ur files why would you want to use a backenddl language to perform a frontend task, how retarded are youi OP, just set the button to have a disabled attribute like so; xxxxx yo can add and remove the attribute after a certain amount of time, its simple. I would write out the code for it but i literally caen barely type this shit out on this keyboard lol edit: dont give mesvak ur files, he's a greedy cunt and will just stealur shit, Quote Share this post Link to post Share on other sites
jones2310 1 hey guys remember me? i just need a bit help and yes i have a c panel pleas anyone help me? hey do u have discord? Quote Share this post Link to post Share on other sites
mesvak 362 @mesvak you dont need php retard, use javascript u are so fucking dumb man js is much harder then php and php is direct code doesnt need any other shit to be added and fag if u wanna include js u needa include it in html and make a new js thats a lot of work for beginer php is better fag FOr the simple code never use js I use ftp to edit my website... send me screen what files u have U have index And something else do u have login page or something send me sc of ur files why would you want to use a backenddl language to perform a frontend task, how retarded are youi OP, just set the button to have a disabled attribute like so; xxxxx yo can add and remove the attribute after a certain amount of time, its simple. I would write out the code for it but i literally caen barely type this shit out on this keyboard lol edit: dont give mesvak ur files, he's a greedy cunt and will just stealur shit, ur knowledge is gae shit man dont talk to me like that u have no understanding in how to deal with coding tbh i would never use java in simple codes cz it will make ur work more then a simple php nigger shit and u dont know a shit kappa Quote Share this post Link to post Share on other sites
mesvak 362 yes sure if u want jqure its like this $('#buttonid ').click(function(){ var buttonid = $(this); $.post('/echo/json/',{delay: #number in seconds }).complete(function(){ buttonid.prop('disabled', false); }); buttonid.prop('disabled', true); }); this is jqury Or you can use success or timeout function depends on u for delay function i will suggest u to use like this $('#buttonid').live('click', function () { $(this).prop('disabled', true).delay(800).prop('disabled', false); }); this one is super ez just use the one above i will intrduce more just pm rn im in gym shit gae asshole here its the example i did kappa https://jsfiddle.net/Lt8wype5/ Quote Share this post Link to post Share on other sites
mesvak 362 thx will check out and try! this is with set time out function niga https://jsfiddle.net/8n60yLf3/ Quote Share this post Link to post Share on other sites
владимир 72 u are so fucking dumb man js is much harder then php and php is direct code doesnt need any other shit to be added and fag if u wanna include js u needa include it in html and make a new js thats a lot of work for beginer php is better fag FOr the simple code never use js send me screen what files u have U have index And something else do u have login page or something send me sc of ur files why would you want to use a backenddl language to perform a frontend task, how retarded are youi OP, just set the button to have a disabled attribute like so; xxxxx yo can add and remove the attribute after a certain amount of time, its simple. I would write out the code for it but i literally caen barely type this shit out on this keyboard lol edit: dont give mesvak ur files, he's a greedy cunt and will just stealur shit, ur knowledge is gae shit man dont talk to me like that u have no understanding in how to deal with coding tbh i would never use java in simple codes cz it will make ur work more then a simple php nigger shit and u dont know a shit kappa you're pathetic troll, I am a god tier programmer with over 100 PR's submitted to the GNU/Linux project git. Quote Share this post Link to post Share on other sites