Quantcast
Channel: jQuery Forum
Browsing all 18 articles
Browse latest View live

Why does _evalUrl() use async:false?

Why does _evalUrl() use async:false? Would it ever make sense for it to use async: true? Does it affect the user experience at all? My guess is that by doing it synchronously rather than async, you...

View Article



Re : Why does _evalUrl() use async:false?

When you inject HTML into a document and it includes <script> tags, jQuery runs the script synchronously so that on the next statement after the injection that script will have loaded/run and can...

View Article

iPhone 6 : jQuery(window).height() .width() dont work one bit.. fix included.

Was testing my seductiveapps.com software on iPhone 6 recently and found that my dialog resizing routines worked but not the background resizing which uses jQuery(window).width() and .height().. Well,...

View Article

Re : iPhone 6 : jQuery(window).height() .width() dont work one bit.. fix...

This is the wrong place to report a bug. Bug reporting for all jQuery foundation software. - jQuery Forum shows you where to go. JΛ̊KE

View Article

Re : iPhone 6 : jQuery(window).height() .width() dont work one bit.. fix...

thx, done at https://github.com/jquery/api.jquery.com/issues/741

View Article


Re : iPhone 6 : jQuery(window).height() .width() dont work one bit.. fix...

I subscribed to the bug report.  Let’s see what the devs say. JΛ̊KE

View Article

Re : iPhone 6 : jQuery(window).height() .width() dont work one bit.. fix...

I’ve been following the responses. I understand why they are reluctant to change things. I suggest you write your correct code as a function, and publish it. You are not the first one to see the...

View Article

What is the purpose of styles() method in jquery ?

i was just going through the source of jquery css() method and came across the following lines of code :  function (name, value) {     return access(this, function (elem, name, value) {         var...

View Article


Re : What is the purpose of styles() method in jquery ?

It's purpose is to set the style property of an element. It is internal. And it will actually be removed soon: https://github.com/jquery/jquery/issues/2297.

View Article


Re : What is the purpose of styles() method in jquery ?

Timmy that link does't work ! 

View Article

Re : What is the purpose of styles() method in jquery ?

https://github.com/jquery/jquery/issues/2297  .   JΛ̊KE

View Article

Re : What is the purpose of styles() method in jquery ?

Thanks jake 

View Article

why is jquery source code stored in multiple files ??

hey guys , bit of a random question , i was just checking out the jquery project hosted on github here .  , and there are so many folders and sub folder and some methods are in one file and the others...

View Article


Re : why is jquery source code stored in multiple files ??

There's nothing new about it at all. It's done for maintainability and modulatory.  Most large libraries are done like this, whether Javascript or otherwise. When the library is "built", the files are...

View Article

Re : why is jquery source code stored in multiple files ??

I read the custom Jquery build documentation and kind of got an idea , Thanks though Jon ! . :) 

View Article


unable to load local json file data on page load of html

$(document).ready(function(){   alert('Level1'); //this is getting fired     $.getJSON( "/data/widget.json", function(data) {   alert('level2');  //not getting fired...

View Article

Re : unable to load local json file data on page load of html

Use the developer tools to see if your getJSON failed. Was it invalid JSON? missing file? evil server syndrome? You can also add  a .fail call to your code to check programatically. JΛ̊KE

View Article


Re : unable to load local json file data on page load of html

Oh! It’s invalid JSON… You had an extra comma. {     "widgetData": {         "title": "Example",         "status": "active"     } } JΛ̊KE

View Article
Browsing all 18 articles
Browse latest View live




Latest Images