Hi there everyone.
I have not been a member of the forum long but this is the first programming forum in which i feel quite welcome and comfortable. It would be nice to help others in future too.
Okies right now i am toying with the ajax way of doing things but am having a little trouble grasping how to implement it, what functions are really capable of here and if certain things are possible.
For instance i could do with a pointer on how i can check for changes in the input on a per character basis, change field background colours or font colours on errors in input etc. I do not want a ready made solution just need to be put in the right mindset i guess.
Thankyou for your time guys.
Tips for using ajax with forms request
Moderator: General Moderators
-
wiseoleweazel
- Forum Newbie
- Posts: 5
- Joined: Thu Feb 11, 2010 6:25 pm
Re: Tips for using ajax with forms request
Look at javascript event handlers to trigger events.
You will need to write your own javascript functions, but event handlers will trigger the functions.
Event handler list: http://www.elated.com/articles/events-a ... -handlers/
Something like:For instance i could do with a pointer on how i can check for changes in the input on a per character basis,
Code: Select all
<input type="text" onkeyup="checkChanges();">Event handler list: http://www.elated.com/articles/events-a ... -handlers/
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
-
wiseoleweazel
- Forum Newbie
- Posts: 5
- Joined: Thu Feb 11, 2010 6:25 pm
Re: Tips for using ajax with forms request
Thanks for your help s.dot, i will likely have a few more questions about possibilities with this if you don't mind. Will post later once i have read up on javascript event triggers.