I have a button that is, by default, disabled=True.
After I press the submit button, which runs sql to insert a field, I want to set the another button Disabled = False.
I dont want to use javascript.
Is there a way to change the attribute of the button via php?
Thanks!!
Please help. I cant find how to do this...
Moderator: General Moderators
- sergio-pro
- Forum Commoner
- Posts: 88
- Joined: Sat Dec 27, 2008 12:26 pm
Re: Please help. I cant find how to do this...
Hi
Button HTML is generated on the server,
So, after insert (which is also processed on server usually) you can make button attributes whatever you want using php.
Hope that helps )
Button HTML is generated on the server,
So, after insert (which is also processed on server usually) you can make button attributes whatever you want using php.
Hope that helps )
Re: Please help. I cant find how to do this...
Sorry, but it does not make sense to me.
Can you show me what the code would be?
Thanks!!
Can you show me what the code would be?
Thanks!!
Re: Please help. I cant find how to do this...
You won't learn anything if you don't think about it.I AM wrote:Sorry, but it does not make sense to me.
Can you show me what the code would be?
Thanks!!
Re: Please help. I cant find how to do this...
WOW!onion2k wrote:You won't learn anything if you don't think about it.I AM wrote:Sorry, but it does not make sense to me.
Can you show me what the code would be?
Thanks!!
What a dick!!
Re: Please help. I cant find how to do this...
Well, yes, you could look at it that way. People often do when they ask for people to write code for free and get turned down. I can assure you that my comment was more than that though. I want you to improve as a web developer. I want everyone here to. And the only way you will is by thinking about the problem, asking for help rather than a finished solution, and understanding what it is you're coding.
And for the record, I do have the power to ban you, so try not to be abusive again please.
And for the record, I do have the power to ban you, so try not to be abusive again please.