Iam using Jquery for Long time for my Application .Suddenly today it started giving me error on every page where jquery is used .The error is "syntax error on line 2 and character 1" .It is giving me the same error for all the pages where Jquery is used .The Jquery version we are using is Jquery v(1.4.2) and the UI Version we are using is (1.8).we are using the same thing in the production it is working fine .It is giving us error in our development Especially IE 6.0 .Rest all the other browsers are working fine .How do i Debug this .Hoe can i solve this problem
Did you upgrade jquery or jquery-ui very recently?
Try creating a totally empty page that only loads jquery and/or runs a single line of code and nothing else, then when you have that working, work back up to the full functionality of your site/application.
Is the error you're getting only in IE6?
Related
When I open the website on safari and Firefox , it shows me an errors Assertion Failed.Can someone help me with this.
I have solved this issue. It throwing an error beacause I have use the flag-icon-css directive for showing flags.When I have removed this directive its working well.
I've created an ASP.NET MVC Core 2 application with an Angular 6 front-end. When it works, it works, but when I make an error in some template code, for instance creating an empty span in app.component:
<span />
Everything will compile and Angular will run, but it will remain stuck on the basic "loading" page defined in index.html. There's no error anywhere in the browser's developer tools, and none in Visual Studio's various output windows. As soon as I fix the offending tag:
<span></span>
and save the document, the page reloads and everything works.
Where are errors like these reported so that I can find them?
Try running the ng build --prod command this will give you a more exact location of where errors are.
I am trying to write some integration tests in rspec/capybara/selenium for my Rails 5 app. I have recently started testing some javascript features in the app with headless Chrome.
I struck a problem where I was unable to choose a select element on the page with capybara despite this working fine when I loaded the site manually in chrome in development environment. After some investigating I figured out that the select element was not currently visible. It is hidden when the page loads but should then be made visible immediately on loading by my javascript.
I disabled headless and paused my test with a quick and dirty sleep 60. I then looked at the javascript file in Chrome's developer tools and discovered that it has loaded an old version of the file with none of my recent changes. The file it has loaded no longer exists in my app so it must be being cached somewhere. Any ideas how this might be occurring and how I can fix it?
I am working on a JQuery Mobile project. Now that I finished the core features, I want to build a native app using Cordova. After installing the project in Xcode described in the phonegap Documentation 2.7.0 the app launches and anything seems to be fine. But after firing a ajax post it returns status Code 0 and a error.
The application is currently working in all common browsers without any problems.
Do you have any ideas? Is it a CORS thing?
Thank you very much,
Flo.
(bah, I really wanna post comments instead of asking these questions in answers)
I had a lot of issues with this as well.
After a lot of research, I found that error 401 is not returned to Phonegap and becomes error 0. So my question to you is, does the website you go to require authorization?
If it doesn't, try to change your url to a non-existing one. I try to go to 'floobaloo.html', which always returns me a 404 error code. If you can not get the 404 code back, then the problem lies somewhere within your ajax call. If you do get 404 then you have Authorization issues.
I'm trying to integrate SlickGrid in my Rails 3 application.
I use the latest Firefox on Windows XP.
Everything was fine until I added the column picker according to this example.
Now, when I right click one of the header cells, I do see the column picker. But, when I click one of the check boxes, Firefox hangs.
Any ideas what could be the problem, or how to debug this ?
UPDATE
I noticed that if I remove the width parameter from all columns, everything works fine!
If you plug SlickGrid into static html not served by rails, does it still not work?
I suspect that this isn't an issue with Rails, unless the javascript isn't being loaded into your page.
Which version of firefox are you using?