spooke2k Posted June 20, 2007 Share Posted June 20, 2007 is it possible that on a php script that i can make the form button click itself. so i have a button that when a certain argument happens i want to click on itself thus resetting itself and doing the php script associated with the button being clicked the php is on a form on php self. know it sounds strange but i have some coding that needs to reset itself and only does that when the button is clicked just want a work around. failing that is it possible to use jave to achive this. Quote Link to comment Share on other sites More sharing options...
AndyB Posted June 20, 2007 Share Posted June 20, 2007 No. php code executes on the server and delivers html code to the browser. Form buttons click on the client computer. Javascript is the most probable solution to your request. Quote Link to comment Share on other sites More sharing options...
spooke2k Posted June 20, 2007 Author Share Posted June 20, 2007 i cant seem to find any javascript that will do this though is my problem Quote Link to comment Share on other sites More sharing options...
AndyB Posted June 20, 2007 Share Posted June 20, 2007 Try asking a less generic question, or revise your concept of how your 'thing' should work. Quote Link to comment Share on other sites More sharing options...
spooke2k Posted June 20, 2007 Author Share Posted June 20, 2007 sorry all i want is to find a way so that i can say button1 is to be clicked and do this automatically now. Spooke2k Quote Link to comment Share on other sites More sharing options...
AndyB Posted June 20, 2007 Share Posted June 20, 2007 I think you might be in for a disappointment, but a javascript countdown timer might be part of the answer. 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.