I have the above code and it is not validating with the w3c validation for XHTML it has thrown up 8 errors and 14 warnings. Should I ignore them or what? As I do like my code to validate.
I'm sure this functionality must exist somewhere, but I can't find it. basically, I just spend over 3 hours until I realized that $("index") is not the proper spelling for selecting the index div. It would be swell if I could be alerted to such errors, I'm sure this is easily doable. I just need warnings whenever something fails, and this is a clear case of failure, since so such property or function exists, right?
I've narrowed down my SSL "mixed content" warning to being the cycle plugin. I do not see any http: refrences in the code so im wondering how i should go about this.
I am using a validating form plug in for jquery and I have a question about it. Let this function will be an ex.:
[Code]....
'e' is the name attribute of one form element, but can I choose more elements using jquery (CSS) rules like this: input[name*=e] or how can I do something similar?
Has anyone seen the "Exception thrown and not caught" error message while working on some script? I started seeing this the other day, before heading home (too tired to work on it at that time.) I've tracked it down to an AJaX file that is being used by the ColdFusion server I'm working with (it is including a file called "cfajax.js"). Searching Google, it seems that there is an issue with parseJSON. Has anyone determined what could cause this? Or a fix for it? I'm running out of ideas.
I'm getting a warning message from internet explorer's javascript debugger for jquery.min.js (I load the most recent version from Google's CDN):
Error details Web page User agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E) Timestamp: Sun, 6 Mar 2011 14:40:13 UTC
I need Name to be always compiled and at least Telephone or Email. Here you can find a sample page: test If I submit without compiling it gives me the warnings. If I compile Name, the relative warning disappears in real time. If I compile, for example, Telephone, the relative warning disappears in real time, but not the Email one. Th Email one disappears only if I press the submit button that will correctly submit the page because there are no more exceptions. Is there any way to make the dependent warnings of Telephone and Email disappear in real time when at least one is compiled?
I was using jquery-1.3.2.min.js to show a modal dialog on a button click event handler and this worked fine. The same did not work with jquery-1.4.2.min.js and yielded the following script error on my IE -8 broswer. Message: Exception thrown and not caught Line: 75 Char: 399
I have a perl script which is called via Ajax. It simply writes 3 values to a database. The code works fine (values get written successfully) but I get an "Internal Server Error" thrown. The Errorlog says "premature end of script headers". There was no problem with the application - it works as required and has for a few months - but I noticed the error via Firebug when testing something else.So I started stripping perl out of the script in an attempt to locate the problem .. and continued till I only had only had two lines left .. the shebang and exit .. I still get the 500 error. Running the script direct from a browser gives the 500 error in the browser window ... from the command prompt it's fine - ie. nothing in the apache errorlog.
There is nothing wrong with the server configuration - it has hundreds of perl scripts and has been running for years.
is there anything wrong with this script as i keep gettin an error message in IE with menu item 1:
//menu methods function ehandler(event,theobj){ for (var i=1; i<= theobj.numberofmenuitems; i++){ var shutdiv =eval( "menuitem"+i+".thediv"); shutdiv.style.visibility="hidden"; } theobj.thediv.style.visibility="visible"; this menu is related to a drop down feature later on!
How do I get to see the details of JS errors in IE? I have some problem in IE that isn't showing up in FF or Opera. Is there an error window in IE that I can open up and look at warnings and errors?
I am in a little over my head here trying to make a template for this PHP script. I am trying to work out all javascript errors.
So far I only have one error on the index page and no other pages. In IE8 at the bottom it shows me the little error icon and when I click it, it shows me:
Line: 2 Char: 18579 Error: Object doesn't support this property or method Code: 0 URL: http://www.mysocialengine.com/demo/woolton/index.php
I am trying to locate this error in the source code, but cannot figure it out. Can someone maybe take a look at the source and point me in the direction to what IE8 is finding as an error? It's weird that there are javascript errors only on the home page when I use the same header and footer file for the entire web site.
I'm using javascript for my client validation and I would like this to work the way I wanted to. I have three textboxes for last name, middle name and firstname. All the fields are mandatory and if the form is submitted there would be an error to display below the textbox. The problem now is I couldn't show three errors at once. I could only show one error at a time. The error msgs are specific that is "Last name required", "First name requiredHere's my JS structure
When i visit a majority of the pages on Dic i receive the following javascript error:
Webpage error details:
Message:
I am using IE 8 with nothing disabled. The browser also goes into compatabilty mode every time this error happens. The screen will go competely white and i will have to do a refresh to get anything to show up.
I am getting the message in the bottom status bar on my site www.pashmina-shawls.com Done but with errors on page? It doesnt happen on the index page, only on all the other pages, the reason for this is i use a template for all pages except the index page, and all pages using template show this error message, please help and will this effect the functioning of the site?
Just ran across something interesting in Mozilla and Firefox. I don't think it qualifies as a bug because it's probably something I should not do - even tho it validates.
I'v just finished the first web site i wrote which encorporates some javascript. It worked fine on my test server, but as soon as i moved it to the production box, I now get all sorts of errors like :Unterminated string constant when i open the first page, and Object expected when i try to call a javascript function by clicking on a menu item. Is there some sort of configuration that must happen on my production box? The same coding works fine on the one server but not on the other.
I design web sites and am just amazed at how many sites have signifificant numbers of Javascript errors in them! I leave script debugging on in IE so I can check my own stuff. The when I surf the web, loads of the pages come up with errors! Even big sites like Google.
I have this jQuery script, and when you hit submit it adds an error to the first empty input field. but it doesnt highlight the others so if all are empty itll be like [code] i was thinking maybe a loop to add all the errors at once but im not sure how