![]() |
| ||
| submit once button Hi, I want to this, a button that changed to disable when click, while there is something sent to the database. I worked with ajax, I can do this with a submit button, but when I i put the form tag, not work any more. Can you give me some available solution for this ? |
| ||
| Re: submit once button <form> |
| ||
| Re: submit once button > I worked with ajax, I can do this with a submit button, but when I i > put the form tag, not work any more. It worked because Ajax doesn't depend on a FORM element for shipping data to and fro; it uses the XMLHttpRequestobject for this purpose. Also, doesn't work is a pretty useless description, we need more description or a sample snippet which showcases the problem at hand. |
| ||
| Re: submit once button dont know how much you know about javascript but this will do the thing that you want. this one adds butons into body onclick event and changes its label to delete and delete buton delete any other button randomly (doesnt remove itself) this was an interview question object model used to support ie4+ replace document.body.removeChild(btns[tmp]); and add there what you want and it will work. var q = q ? q : new Object(); |
| All times are GMT -4. The time now is 5:36 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC