Sign in to follow this  

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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...

Share this post


Link to post
Share on other sites

@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

Share this post


Link to post
Share on other sites

@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,

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

@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

Share this post


Link to post
Share on other sites

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/

Share this post


Link to post
Share on other sites

 

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this