Welcome Guest, Not a member yet? Register   Sign In
All about Ajax!
#4

[eluser]Jamie Rumbelow[/eluser]
What I like to do is check for the AJAX request server side, so a user could visit the ULR that AJAX is requesting and it would work fine. As long as you check the URLs and get them from the <a> tag, if the user has js turned off it still works.

It's also a good idea not to add AJAX stuff to an element that doesn't have a click event natively. Things like divs, h1s and spans arn't clickable, and thus arn't clickable by programs like screen readers.


Messages In This Thread
All about Ajax! - by El Forum - 10-03-2008, 07:48 PM
All about Ajax! - by El Forum - 10-03-2008, 08:18 PM
All about Ajax! - by El Forum - 10-03-2008, 08:27 PM
All about Ajax! - by El Forum - 10-04-2008, 02:27 AM
All about Ajax! - by El Forum - 10-04-2008, 02:53 AM
All about Ajax! - by El Forum - 10-04-2008, 04:16 AM
All about Ajax! - by El Forum - 10-07-2008, 02:16 PM
All about Ajax! - by El Forum - 10-07-2008, 06:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB