I've been trying to make my very ajaxy site more SEO friendly, lots of the returned actions from ajax can be retrieved as a full page, so it's just a matter of exposing the links. Up until now I've had 'span' tags which I have now changed to 'a href' so that the search engines will follow them. I've added the following code so that if the event should send an ajax request, it does that, or if it should go get the full page, it does that.
The browser being used throughout the company is IE8 under Windows XP. I have checked the version being used on their comptuer and it is 8.0.6001.18702, which is the same version as the one installed on my local machine which is working fine. Another user has logged into the computer being used by the user with the issues and it works fine for the second user.
The "View All Show Times" href should toggle a show/hide div. All of sudden, it's not working IE 6 (FireFox and IE 7 work fine). This never happened until today. Could an altered browser setting have caused this behavior as I didn't change the code? It looks like return false is not firing.
I am currently trying to get an action on the click of a link, and not make it follow the link, just carry everything out in jQuery. Now, if the AJAX request isn't there, it will work as supposed too, but with the AJAX request, it will follow the link, not taking any notice for the return false.
im trying to learn how jquery ajax function works by validating some form after submit is clicked.
the alert didnt pop until i added the registration_ok = false; right before, so im assuming it has something to do with the ajax functions's scope.... why does the ajax function not affect the registration_ok variable outside the function? and how should i solve this problem? any better way of doing it?
i am learning JS at school and it is going pretty well. One concept I seem to be having trouble with is Return False; I understand that it is used when working with boolean types, but I seem to see it in other places as well, apparently to stop a function from doing something. I was wondering if someone had a good reference that explains the difference uses of return false.
This is my first post here, but reading through the others I'm sure someone will be able to help me.I trying to build a client-side validator before running my validation in php. I have a <form onSubmit="function(login name, login password)"> type deal and in my function, I'm returning false if certain criteria aren't met.
the form's action runs it back to the current URL where I have a php validator activated if the post data is recognized. As of now, both are running, which tells me the form is being submit regardless of that return false.
I am attempting to create a stop in the form action if someone leaves the input blank or with the predefined "Search" however, once the alert pops up and a user presses "OK" it still attempt to submit the form.