JQuery :: GetJSON Doesn't Work - No Error Messages / Sort It?
Oct 1, 2010
I can call a rest service I have running in a 'test' environment fine from other tools (or directly in browser for that matter).
When I call using jQuery nothing happens.
No errors, no javascript messages. Nothing. [code]...
View 9 Replies
ADVERTISEMENT
Feb 25, 2009
I have this marquee code that works fine with IE6 on a Win 2K PC, works fine on IE7 with 2K server and also 2003 server,
but will not work on 2 computers with IE7 on XP.
Anyone know why? code...
View 1 Replies
View Related
Nov 25, 2011
I wrote this code to open a page if doesn't exist a cookie but it doesn't open the page do you know where I wrong?code...
View 3 Replies
View Related
Jun 21, 2010
I have this part of php code...
when I click an unitid, The alert message doesn't work
what's wrong? (i'm newbie to javascript/php/....)
View 5 Replies
View Related
Jul 23, 2011
This is a code for a simple calculator that requires the input of an Area and then calculates how many packs of product are then required to cover that area, rounding up to the next full pack, The results should be displayed in a simple HTML form but its not happening. I can't see any obvious errors. Am I missing something.code...
View 3 Replies
View Related
Aug 10, 2009
I'm new to jQuery and the validation plugin, I just wondered if it is possible to get the error messages to be shown in an error summary section instead of inline?
View 1 Replies
View Related
Nov 5, 2011
I'd like to switch any broken images in dynamically loaded HTML to a warning graphic, something like:
[Code]...
This works with with the 'click' event but not with 'error' or 'load'is there another way to do it? I remember with .live() there were restrictions on what events could be bound, but I can't find that in the documentation anymore for jQuery 1.7's .on()
View 3 Replies
View Related
Nov 29, 2010
Sorry but I can't get the very first tutorial to work. I put the custom.js in a test_jr directory in htdocs. I also put the starterkit.html file in the same directory. I copied the contents of jquery-1.4.4.min.js into a jquery.js file also in the same directory. Then I did the custom.js page shown here:
<html>
<head>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("a").click(function() {
[Code]...
I tried clicking on the [URL] and I get the starterkit.html page. If I click on the "some link" it doesn't do anything. What am I missing? There are syntax errors in my editor starting on the line with the asterisks* Why is there an error there? It looks like it closes the click function?
View 3 Replies
View Related
Feb 4, 2007
I have a script here which will loop thru a table and check for it's background color.
But it doesn't work on Firefox. The Error Inspector said "ERROR. obj.cells has no properties
How should I work around it to ensure it works for IE and FF?
View 3 Replies
View Related
May 3, 2009
Is it possible to disable showing error messages in jquery.validate plugin at all?
I just need to aply css error class, not to see error messages anywhere.
View 4 Replies
View Related
Jul 21, 2011
I'm new to using jquery and I have a question regarding the validate plugin. How can I make the error messages appear where I want them? Right now they appear to the right of the input field but I'd like them to appear below it or wherever i'd like
View 1 Replies
View Related
Apr 10, 2009
I'm using this plugin in its simplest form.. [URL] All I have is this for my code:
<script>
$(document).ready(function(){
$("#form").validate();
});
</script>
It works fine, but I'm trying to hide the error messages which it defaults to "This field is required." The error message shows up in a label.. How in the world do I hide those error messages within those labels?
View 4 Replies
View Related
Aug 18, 2009
I'm playing with the great Bassistance jQuery Validator and am stuck at a point The idea is simple: I have lot of this markup (I semplify, but the idea is that after each <input> there could be something else, i.e. a word, an icon, etc... that is "inline" with the corresponding<input>):
<ol>
<li><input type="text" id="width" size="3"></input> px</li>
<li><input type="text" id="height" size="3"></input> px</li>
<li><input type="text" id="thumb" size="3"></input> px</li>
</ol>
[Code]....
View 1 Replies
View Related
Sep 2, 2010
If you go to the following page and click 'Buy Now' at the bottom of the page to submit the form the jQuery validate library error messages are displayed at the top of the page, rather than next to the corresponding form element:[URL]
View 3 Replies
View Related
Nov 11, 2010
I am Having an account information page which needs to be validated,but the problem is i want each error message to appear under its respective input field. I had tried using errorPlacement but it is showing all error messages at one div id which i had assigned.Is there any way to display error messages under its respective text box(input field) ???
Need of Urgent help.
View 1 Replies
View Related
Jun 15, 2009
In the new version of jquery.validate (1.5.3) there is an option to get a remote error message from the server for invalid elements. I did not find what should be the exact response from the server for producing such an error message. From the documentation: "The response is evaluated as JSON and must be true for valid elements, and can be any false, undefined or null for invalid elements, using the default message; or a string, eg. "That name is already taken, try peter123 instead" to display as the error message." But if i return a string, isn't it evaluated as true ?
View 2 Replies
View Related
Oct 12, 2009
I'm trying to write a custom display for the error messages on my form. Ideally I'd like to use a modal pop-up window to display the errors, but I'm having trouble figuring out how to prevent the validation plugin from automatically displaying the errors on my page AND I can't quite figure out how to access the individual error messages for the elements on my form. What I want to do is to allow users to save invalid forms, but to warn them that they are invalid to make them confirm that they want to save. [code]...
View 1 Replies
View Related
Jul 4, 2010
I'm using the form validation and it's working great. But the form reset button, although it clears the form fields, does not clear the errors. My page header has this code so far:
[Code]....
I'm trying to understand how to implement the following in order for the reset button to do that:
var validator = $("#myform").validate();
validator.resetForm();
I'm not an experienced JS person but have a lot of other programming experience (vb, vba, mssql, delphi).
View 2 Replies
View Related
Jul 14, 2010
I'm using this great plugin, but the prob for me is that all error messages have the same class added to them. due to the layout of my form, i need to be able to move some of the error messages around in diff ways. there is a way to add a diff error class to elements based on their id or class or whatever, but not sure how to do so.
View 1 Replies
View Related
May 18, 2011
I'm a newby who has manage to get up and running rather quickly and with ease using the documentation. My form validates as expected but it shows the default error messages and highlights the invalid fields. How can I suppress the error messages?
View 2 Replies
View Related
May 10, 2010
I've been having issue with .getJSON() in IE. I keep getting the error message " Expected ';' "
My JSON string is {"internet":"on"}
View 4 Replies
View Related
Aug 8, 2011
I'm using the jQuery form validation plugin along with the fileinput plugin which hides the initial input area, but uses <divs> and some styling /javascript to show the file input field.The issue I am having, is that the 'this field is required' text that is meant to show on submission, doesn't come up for the file input field, nor some checkboxes that I have in a table. I am guessing that this is because the code is needing the label to be RIGHT next to the element (in this case the file input or the checkbox) in order for the validation message to show..Are there any work arounds that anyone knows of so that I can get the error message to show?Is there a way to show the error message for required fields when they have a div wrapping them or anything wrapping them?
[code]
View 1 Replies
View Related
Jun 14, 2009
I wanted to ask how it is possible to get error messages from the server till it is implemented in the remote method.What do you think is the less work intensive alternative.I also wanted to ask if i have two fields A and B, and the values of B depends on A. How do i make it with the plugin and the remote method ?I saw that there is a way of writing custom methods:URL...But how do i combine it with the ajax calls?
View 2 Replies
View Related
Oct 11, 2010
I'm using getJSON to load data from the database onto a form. How can I specify the success & error callbacks? here's the code I'm using: EDIT: I managed to get the success callback by adding it below the $('fontSize')... but how can I set the error callback?
[Code]...
View 4 Replies
View Related
Jan 20, 2011
I have a java object array. I am using java 1.4. The object has attributes with getters/setters.I tried JSON-simple API to convert the array to string. This outputs error JSON string
[object-name@6ddc07]...
What is a good JSON API for java 1.4...
View 4 Replies
View Related
Apr 2, 2010
Recently i tried to use getJSON to retrieve data from [url] and every time i tested in firefox, the console will always give me error on the line $.each(data.results, function(i,result) saying data is null. i am wondering how to solve this problem?
View 2 Replies
View Related