Giter Club home page Giter Club logo

jqueryjs's People

Contributors

brandonaaron avatar pmac avatar samwm avatar

Watchers

James Cloos avatar

jqueryjs's Issues

env.js's implementation of XMLHttpRequest.open ignores async parameter

At http://jqueryjs.googlecode.com/svn/trunk/jquery/build/runtest/env.js
Line 571
    if (async)
      this.async = true;
Line 690:
    async: true,
async is initialized to true and only ever set to true.  There is
additional code that switches on async, so the flag is significant.


What steps will reproduce the problem?
1. set document.location which calls XMLHttpRequest with async unspecified


What is the expected output? What do you see instead?
document is created asynchronously on a separate thread.


What version of the product are you using? On what operating system?
The version from trunk revision 4373


Original issue reported on code.google.com by [email protected] on 9 Jan 2008 at 12:48

jQuery Ajax form submisssion doesnt work in IE

What steps will reproduce the problem?
// prepare the form when the DOM is ready 
$(document).ready(function() { 
    var options = { 
        target:        '#output',   // target element(s) to be updated 
with server response 
        // beforeSubmit:  showRequest  // pre-submit callback 
        success:       selectBox  // post-submit callback 
    }; 

    // bind to the form's submit event 
    $('#converter').submit(function() { 
        // inside event callbacks 'this' is the DOM element so we first 
        // wrap it in a jQuery object and then invoke ajaxSubmit 
        $(this).ajaxSubmit(options); 
        // !!! Important !!! 
        // always return false to prevent standard browser submit and page 
navigation 
        return false; 
    }); 
}); 


// post-submit callback 
function selectBox(responseText)  {
    document.converter.output.value=responseText;
    document.converter.output.focus();
    document.converter.output.select();
}

What is the expected output? What do you see instead?

It is OK in Opera and FF but not IE. It is expected that responseText 
would be in #output text box. 

What version of the product are you using? On what operating system?
jQuery last version, 1.1.3.1, Internet Explorer 7, Windows Vista Home 
Basic Edition

Please provide any additional information below.
I am using jQuery with jQuery Form plug-in.

Original issue reported on code.google.com by [email protected] on 8 Aug 2007 at 7:31

Multi-Column Sortable Select Control 1.0 does not work with jQuery 1.2.1

What steps will reproduce the problem?

1. Take a look to <a
href="http://www.inxenio.com/debug/jquery/multi-column-select-box/index.html">Fa
ilure
Site</a>

2. You can see that can open the select and change the order of columns but
you cannot select an element from this select.

3. Take a look to <a
href="http://www.inxenio.com/debug/jquery/multi-column-select-box/index.html">of
ficial
example</a>, you can do it well.

Tested with FF2 and IE7.

The error is:

Error: settings.tableCells.contains is not a function
File:
http://www.inxenio.com/debug/jquery/multi-column-select-box/jquery/jquery.multic
olumnselect.js
Line: 115

Regards,
Fran Castro


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 4 Jan 2008 at 7:11

Feature Request: Add scope to dynamically created element

What steps will reproduce the problem?
1. For multi-frame website, dynamically created element via $("<div 
class='test'></div>") only works in that document. If I create it from a 
different frame, IE won't allow this newly created element being moved to 
another frame. 
2. Is it possible to add a scope to this and make the syntax like this:
3. $("<div>test</div>", window.document).appendTo(...

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
1.1.3.1 on IE7, WINXP

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 20 Aug 2007 at 7:50

Farbtastic break with jQ 1.1.4, while working fine with jQ 1.1.3

What steps will reproduce the problem?
1. Get Farbtastic 1.2
2. Get jQ 1.1.4, compressed
3. Watch things break (nothing happens with error jQuery.farbtastic is not
a function)

Original issue reported on code.google.com by phajdan.jr on 6 Sep 2007 at 8:20

show effect isn't working in version 1.1.3.1

What is the expected output? What do you see instead?
$("p").show("slow"); That effect is not working.

What version of the product are you using? On what operating system?
IE 6 - IE 7 - FF 2.0

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 13 Aug 2007 at 4:52

Attachments:

Ajax submission of JSON datatype fails if any var starts with '?'

What steps will reproduce the problem?
$.ajax(
{
 url: '/test/',
 type: 'get',
 dataType: 'json',
 data: { myvar: '?test' },
});

What is the expected output? What do you see instead?
Expected to get '&myvar=%3Ftest' server side. Instead JQuery treats the
value as JSONP, turning it into '&myvar=jsonp[13DIGITNUMBER]test'.
Additionally, while it DOES submit the request, the Ajax query will trigger
neither success or error calls.

What version of the product are you using? On what operating system?
JQuery 1.2.1
Tested on Firefox 2.0.0.7, IE6, and IE7.

Please provide any additional information below.
I quick fixed this for myself by simply commenting out the if block
starting at line 2216. I think, but am somewhat unsure if s.dataType should
be checking for 'jsonp' instead of 'json'. :|


Original issue reported on code.google.com by broiledmeat on 2 Oct 2007 at 6:18

fadeIn effect is not working since upgrading to ver. 1.1.3.1

What steps will reproduce the problem?
<code>
$('#result').append(matched.outerHTML).children(':last-child').fadeIn
('slow')
</code>

What is the expected output? What do you see instead?
That line of code was working in version 1.1.2, but the fadeIn effect is 
not working any more since upgradeing to 1.1.3.1

What version of the product are you using? On what operating system?
IE7 on WinXP and Safari on Mac 10.4.5

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 6 Aug 2007 at 3:38

Checking object constructors for equality with "Array" function is inaccurate

What steps will reproduce the problem?
1. Create code on a page that uses a jQuery API whose behavior varies based
on whether a parameter is an array
2. Create an iframe in that page and load it with another page
3. From the other page, use "parent" to invoke the function from step 1
with an array.  Note that the function behaves as if the parameter is *not*
an array.

What is the expected output? What do you see instead?

A legitimate red-blooded array constructed on a page should be treated as
an array by jQuery code called on any other page reachable through the DOM.
 Things are just weird if it doesn't. 


What version of the product are you using? On what operating system?

1.2.1 and the problem occurs on both Firefox and IE.


Please provide any additional information below.

There is a separate instance of the "Array" constructor in the global
context ("window") for every page.  Thus, checking to see if the
"constructor" property of an object is equal to the function referenced by
the "global" variable called "Array" will fail for arrays constructed on a
different page.

(The same holds true of course for any other built-in type, but Array
causes the most problems.)

The use of nested iframes within an application has its adherents and
detractors, but it's not improper or "wrong".  Seems to me that the
framework should either handle the situation properly or else explicitly
fail in some direct way.

See http://gutfullofbeer.net/arrays/a.html for an elementary illustration
(which does not involve any jQuery code). 

Original issue reported on code.google.com by [email protected] on 8 Dec 2007 at 9:00

Dutch translation for Date methods

Hi I've made a dutch translation for the date methods in /plugins/methods/
may be useful to othters..


Sorry to post it like this but google generates a server error when I
attach a file:

Contents of date_nl.js:
// date localization for locale 'nl'
// generated by Jörn Zaefferer using Java's java.util.SimpleDateFormat
// adapted by Remco Wendt to add Dutch translation
Date.dayNames = ['Zondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag',
'Vrijdag', 'Zaterdag'];
Date.abbrDayNames = ['Zo', 'Ma', 'Di', 'Wo', 'Do', 'Vr', 'Za'];
Date.monthNames = ['Januari', 'Februari', 'Maart', 'April', 'Mei', 'Juni',
'Juli', 'Augustus', 'September', 'Oktober', 'November', 'December'];
Date.abbrMonthNames = ['Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul',
'Aug', 'Sep', 'Okt', 'Nov', 'Dec'];

Original issue reported on code.google.com by [email protected] on 15 Sep 2007 at 2:16

XML parsing using XPath expressions not working in 1.2.1 version

What steps will reproduce the problem?

1. The code given below was working fine in JQuery 1.1.3.1 but not working
in 1.2.1 version
$.get("/TestingArea/loadXMLData.html",function(xml){
    $("OrderDocument/customers/customer", xml).each(function() {
        tableHtml += "<tr>";
        tableHtml += "<td>" + $("id", this).text() + "</td>"
        tableHtml += "<td>" + $("name", this).text() + "</td>"
        tableHtml += "<td>" + $("company", this).text() + "</td>"
        tableHtml += "</tr>";
    })
});

2. The response XML from Ajax is 
<OrderDocument>
  <customers>
    <customer>
      <id>1</id>
      <name>Dave Smith</name>
      <company>myParts.com</company>
    </customer>
    <customer>
      <id>2</id>
      <name>Patty Smith</name>
      <company>myParts.com</company>
    </customer>
  </customers>
</OrderDocument>

3.

What is the expected output? What do you see instead?
XML should be parsed and the table row should be populated

What version of the product are you using? On what operating system?
1.2.1

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 20 Sep 2007 at 2:32

Suggestions for globalEval

Richard Cornford has written a critique of the globalEval function in
jQuery as a post in comp.lang.javascript. It is always well worth
considering his words which could easily be converted to an improvement in
jQuery.

<URL: http://groups.google.com/group/comp.lang.javascript/msg/80f8e921cc38926b>


Original issue reported on code.google.com by [email protected] on 31 Aug 2007 at 2:02

this.options.curAnim undefined

What steps will reproduce the problem?
1. Try to use plugins/interface/ifxpulsate.js

What is the expected output? What do you see instead?
this.options.curAnim undefined in Firefox 2.0.0.7

What version of the product are you using? On what operating system?
jQuery 1.2.1 - New Wave Javascript

The following fixes the issue: 

    // Each step of an animation
    step: function(){
              ...
            if(!this.options.curAnim)
                this.options.curAnim = {};
            this.options.curAnim[ this.prop ] = true;


Original issue reported on code.google.com by [email protected] on 30 Sep 2007 at 1:50

documentElement is undefind at line 488 jquery-1.2.1

isXMLDoc: function(elem) {
        return elem.documentElement && !elem.body ||
            elem.tagName && elem.ownerDocument && !elem.ownerDocument.body;
    }

On IE6 of jQuery-1.2.1
elem.documentElement will cause the problem,but jQuery-1.1.3.1 won't

Original issue reported on code.google.com by [email protected] on 27 Sep 2007 at 10:03

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.