I have developed an application that creates a customl overlay for google maps. The basic idea is that a client through an api would send my server a google map object. My application would add the overlay and send the map back to the client.
For the last several days I have been trying to work out how to pass this object to the server without success. I have an api that works with text. So once I am able to pass this object I can change the api.
The object is created in the statement:
map = new google.maps.Map(document.getElementById('map-canvas'),mapOptions);
I intend on passing it via the $.ajax call which is incomplete(and incorrect) in the code which follows as mentioned I have not been able to discover a way to pass it. If anyone can at least point me in the correct direction it would be appreciated.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Since making the post below I obtain a little more information, it turns out that the label created during validation has 2 classes - error and valid and the input tag has a class=valid as well!!! Go figure.
Using Chrome developer tools the following code is the result after validation:
I read great things about this plugin. I just wish I could be a member of those having success with it! I have been working ALL DAY on being able to validate radio buttons and use the remote rule. Frustration would be an improvement of my mood. Hopefully, someone will assist me in getting on the right track.
OK, I have a very simple piece of code that all it does is validate a text field. When that is all there is, it works fine. When I add a remote rule it does not validate until I press the submit button and the alert telling me the form is submitted does not show. In addition, if I click anywhere else on the page (change focus) the text field is not validated when the remote rule is used. This occurs when the return value of the remote call is "true", when the return is "false" nothing at all happens until I press the submit button, and it shows the text field as being validated instead of an error!
Thank you in advance for your patience and assistance,
The jquery validation is a great tool. I recently downloaded it and began working with it. The Remember the Milk demo is a nice piece of work. However, there is one thing I have a problem with. I have not changed any of the code, but it seems that the radio buttons will only validate AFTER the submit button is pressed thereby getting an error message on any field (or at least the success checkmark only shows up after an error is made on the form).
I have looked through all the questions, answers, and documentation but fail to see where the problem is. Anyone that can clarify the issue here or point me in the right direction would be appreciated.