[jQuery] ajax call without update
I've been using Dojo & Prototype for the last couple months and thought I'd give jquery a try.. Great class library. But I'm stumped on something. All of the tutorial examples I see use a general kind of bind like this: $("p").load("test.php", function() { $("p").show("fast"); } I'm curious if I can do a load (or bind in dojo language) without directing the data toward any specifc element. I have a JSON array coming back that I need to check for server errors or form errors before I act on it.
[jQuery] F5 key
Hello! Is there any way to catch pressing by user F5 key and stop reloading page and then run some JS script? This could be very usable when making apps which use AJAX. -- Regards, Grzegorz _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] toggle("slow) ?
Should it be possible to toggle("slow") rather than just toggle()? .show("slow) and .hide('slow") are great and it would be good to be able to do the same via toggle... -- Jay Gooby jay@gooby.org +44 (0)7956 182625 skype:jaygooby https://www.linkedin.com/in/jaygooby _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] http://www.eyecon.ro/interface/ author on this list?
Hi, Please tell me two things 1. Is about IE on win or OSX? 2. The demo page http://www.eyecon.ro/interface/dragdrop.html has the same behavior? Maybe you ca provide an example of some kind so I better understand the problem _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] slideDown, slideUp: Bugs
I have a page that has an object that I slideDown and Up. Underneath is is content that obviously is "pushed" down and up along with that object. When some of the content underneath the sliding object has any of the following properties: overflow: hidden; position: relative; they will not be pushed along with the rest of the content and will instead stay in the same place while everything else is moved around them. This causes the rest of the page to look horrible when I slideDown the object. Another
[jQuery] (no subject)
I am trying to use http://markc.renta.net/jquery/ jquery_test_form.html and I keep getting the error $ is not defined on the jquery.js that is listed there. What am I doing wrong. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] http://www.eyecon.ro/interface/ author on this list?
Hi, Please tell me two things: 1. the demo page http://www.eyecon.ro/interface/dragdrop.html has the same behavior ? 2. It is about IE on win or OSX? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] http://www.eyecon.ro/interface/ author on this list?
Hi there, I'm a complete jQuery noob, but the progress I've made today is fantastic; I've gone from an empty wireframe to an almost-working cross-platform application interface in just under a day :) I'm using the http://www.eyecon.ro/interface/ plugins to do drag and drop, and it's working fine in Safari/Opera/Firefox & IE, but in IE I get some really ugly text-highlighting of other elements on the page during the drag phase. Has anyone else come across this before and any idea how to prevent it
[jQuery] [Bug] Functionless Custom Elements
I tried the example but functionless. The jQuery custom expression element "input" only selects the <input> tags nut not all form widgets. <pre>$("input").css("background", "gray"); $("text,textarea").set("value","hello");</pre><br clear="all"> -- Best regards, 沈志川 (Benx) _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] [BUG] $.filter a.attributes.id has no properties
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1"><font face="Tahoma">Firefox bumped up on me giving this error: </font></font><font size="-1"><tt><big><font color="#cc0000">Error: a.attributes.id has no properties Source file: <a class="moz-txt-link-freetext" href="http://127.0.0.1/_/js/jquery-svn.js">http://127.0.0.1/_/js/jquery-svn.js</a>
[jQuery] $.tag() bug
Somewhere along the line the $.tag function was changed from this: $.tag = function(a,b){ return a && typeof a.getElementsByTagName != "undefined" ? a.getElementsByTagName( b ) : []; }; to this: $.tag = function(a,b){ return a && a.getElementsByTagName ? a.getElementsByTagName( b ) : []; }; The new implementation causes errors under ie6. The specific use case which causes the error is looking up an arbitrary element name in an XML dom (not the window.document object). ie: $('myTagName', myXmlDom)
[jQuery] date picker plugin [was editable : in place editing]
What is your link? -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Kelvin Luck Sent: Wednesday, June 14, 2006 10:46 AM To: jQuery Discussion. Subject: Re: [jQuery] date picker plugin [was editable : in place editing] Hi, Sorry - I'm not planning that at the moment, Cheers, Kelvin :) Stefan Petre
[jQuery] jQuery on Rails
Gosh I H A T E that asp.net does not let me design with regular CSS classes... -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Jack Shedd Sent: Wednesday, June 14, 2006 10:36 AM To: jQuery Discussion. Subject: Re: [jQuery] jQuery on Rails Well, mine doesn't, but it's a.) PHP and b.) not quite ready for public consumption.
[jQuery] How to catch a slash
Not really jQuery, but with all the great JS minds here ... I'm writing a plugin (wait, this i jQuery after all) and I'd like to implement keyboard shortcuts. No biggie when using $(document).keydown() ... I'd like to use a slash to focus on a search box (like Gmail does). However, Firefox uses the slash to start its own searchbox. Gmail manages to suppress this behavior, but I can't get it to work. Any ideas? prevenDefault and stopPropagation don't work. _______________________________________________
[jQuery] Test Suites
Does John, or anyone else on the list, have a full test suite they run on JQuery? I'd like to give my new code a more thorough test. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] date picker plugin [was editable : in place editing]
Nice plugin. Needs a small feature so I can repalce the old script i use now. Hour and minute selection. Do you think you can add this feature? THX _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] problem with ajax form submission (with form plugin)
thnx .... that was the one to fix my problems ... >From: "Mike Alsup" <malsup@gmail.com> >Reply-To: "jQuery Discussion." <discuss@jquery.com> >To: "jQuery Discussion." <discuss@jquery.com> >Subject: Re: [jQuery] problem with ajax form submission (with form plugin) >Date: Wed, 14 Jun 2006 09:22:58 -0400 > >By the way, the latest jQuery includes Mark's plugin so you don't need >to include it explicitly. > >Mike > >On 6/14/06, Mike Alsup <malsup@gmail.com>
[jQuery] Simple AJAX + IE
I am trying to replicate the following example from the AJAX demo page: $.get("ajax-test.xml",function(xml){ var text = $("title",xml).text(); $("div#xml").html("<h1>"+text+"</h1>"); }); This does not work for me in either IE or FF. However, if I use $.getXML it works in FF but not IE. Can someone tell me what I am doing wrong?? Jason ----------------------------------------- Notice of Confidentiality: **This E-mail and any of its attachments may contain Lincoln National Corporation proprietary information,
[jQuery] problem with ajax form submission (with form plugin)
Hi I'm trying to post a form with Jquery ande the form plugin. This is my test page: http://www.leihitu.nl/xperiments/form/test.html It tries to send it to send.php where I have this php code: <?php print "<h1>\$_REQUEST</h1>"; print "<pre>"; print_r($_REQUEST); print "</pre>"; print "<h1>\$_POST</h1>"; print "<hr>"; print "<pre>"; print_r($_POST); print "</pre>"; ?> Every time I try it, I always get something like: Array ( [0] => [object Object] [1] => [object
[jQuery] Taconite plugin
There are two things I like about Taconite: 1. It's very easy to integrate it into existing projects that use JSP, ASP, PHP, etc. It simply relies on trial markup added to the XHTML document to demark its 'commands'. 2. It supports multiple distinct updates to the dom via a single remote request. That's not to say that these things can't be done other ways. Of course they can. Its just what I think Taconite does well. To that end, I've ported Taconite to jQuery and posted it here: http://malsup.com/jquery
[jQuery] Taconite plugin
<div><span class="578250609-14062006"><font face="Arial" size="2">Awesome plugin Mike.</font></span></div> <div><span class="578250609-14062006"></span> </div> <div><span class="578250609-14062006"><font face="Arial" size="2">One issue I'm having is that sometimes the "style" tag is being replaced with "cssText" (even in Firefox - I know your comments mention IE). I'm noticing the same thing happening on your test page. For eg. the "new" in "This is new content that includes a table" is meant to
[jQuery] Opacity, Effects, Etc.
I'm thinking about migrating to jQuery from prototype/scriptaculous... namely because I'm a freak for optimization. The website I plan on migrating relies heavily on: A) Opacity effects B) Effect Parrelization - ie. consecutive BlindUp + Opacity Changes on an element C) afterFinish() queueing - e.g., running a function after an effect finishes I noticed "Interface Elements" for jQuery (http://www.eyecon.ro/interface/) which seems to nicely support drag+drop, and the standard visual effects. I couldn't
[jQuery] jQuery PHP
Hi, A friend of mine wanted to be able to call PHP functions using XMLHTTPRequest and was already using sajax. I wanted him to change to using jQuery so I have made a little script that can be used to access your php functions from jQuery using the ajax.js plugin. If there is someone who wants to convert it to run on Ruby they're welcome to, all I ask is that you let me know, and perhaps send me the modifications. -Rory _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] File upload thru Iframe: almost there
Not quite. the iframe is generated just before the end of body. Trying to copy the behaviour of PORK: http://beta.zapguide.nl/iframe/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] duplicating functions in a loop?
Does anyone know how I can duplicate an onclick function X amount of times? Here is what I'm trying to do, but this doesn't work. I'd like to avoid duplicating this function 5 times like I have now. Any suggestions? total_slides = 5; for(var i=0;i<=total_slides;i++){ $("li#tabLink"+i+" a").click(function(){ $("div.tabContent:visible").hide(); $("li.tabLink").removeClass('active'); $("div#tab"+i).show(); $("li#tabLink"+i).addClass('active');
[jQuery] File upload thru Iframe: almost there
function upload() { if (!document.getElementById("upload")) { return false; } var form = document.getElementById("upload"); $("body").append('<iframe name="results" id="results" src="' +form.action +'"/>'); form.target = 'results'; form.action = form.action +'/ajax/'; $("#upload").submit(function(){ $("#sbar").load(form.action,function(){ }); }); } This does upload the file, but problem is timing the update of #sbar after the upload has been completed. Anyone got any ideas ? -- Matti Putkonen matti.putkonen@fi3.fi
[jQuery] eval scripts does not support IE !?
<div>I make a simple test for load(), but the scripts in the test1.html are not executed (IE does not work, but Firefox work well). </div> <div> </div> <div><button onclick="$('#d').load('test1.html');">Load test1.html</button> <div id="d"></div><br clear="all"> -- Best regards, 沈志川 (Benx) </div> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] form bug
Hi, My form is OK, but when I append (After </form>) : <script type="text/javascript"> $('#contactpart').form('#formresult'); </script> <pre>if (isset($_REQUEST['evaljs'])) echo 'alert("'.(preg_replace('/\n/m',"\\n",var_export($_REQUEST,true))).'");'; else echo '<pre>'.var_export($_REQUEST,true).'</pre>';<span style="font-family: arial,sans-serif;"> </span></pre>return me : <pre> array ( 0 => '[object Object]', 1 => '[object Object]', 2 => '[object Object]', 3 => '[object Object]', 4 => '[object
Document Ready Fixed
Good News Everyone! I put in an afternoon of work on jQuery, today, and squished some of the more notorious bugs. The most important of which was the $(document).ready() bug.The premise for the bug was that two things would happen: 1) Occasionally, the function would fire too soon (in Firefox), before the DOM was completely loaded. 2) ready() would fire if you embedded Adsense into your site (it was assumed that this was due to document.write). So, let me outline what I've done to make this "the
[jQuery] update: editable (in place editing)
I've updated my plugin for in place editing. - script tags are now correctly removed (after execution) from whatever the server returns - I dropped the hardcoded CSS support - I dropped support for hovering since this does not need to be part of the plugin (KISS) - I added suppoer for option editClass, a class that is added to the selected elements when they are in edit mode Have fun. http://www.dyve.net/jquery/?editable _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] $.after and table rows
I've just update my source code to the dev/sane branch and remove my custom $.clean functions and my port to taconite. Sadly, jQuery continues to fail to properly manipulate the DOM in IE when adding or removing a TR through $.after and $.remove. My instinct is to go ahead and just fix jQuery, write a parser for inclusion and commit to source. John, is there any reason you'd reject a custom DOMParser ala Taconite's (http://sourceforge.net/ projects/taconite - check out taconite-parser.js)? Can anyone
[jQuery] Discipline and/or tough love
I'm seeing a lot of e-mails flying around about a lot of subjects on this list. But right now, I think what jQuery _desperately_ needs is some coordination and a roadmap. Don't get me wrong. I still love jquery. But Right now, it sounds like development is in a complete freefall. If jQuery is to get close to the popularity of Rails coattail-rider Prototype, it needs to flesh out it's development structure and start working on a feature freeze and a roadmap towards a 1.0 release asap. I know what
[jQuery] Visual Documentation
Hey all, Over the weekend I worked up a visual version of the jQuery documentation. It's mostly complete (I intend to add some plugin and Interface documentation, but I only have stubs for that stuff atm). The entire app was developed with Rails and jQuery. You can take a look at it at <a href="http://www.visualjquery.com">http://www.visualjquery.com</a> (a quick site I threw up to demonstrate this app). Please click through it and pass me any suggestions. Discussion on the list would be welcome.
[jQuery] editable : in place editing
I just submitted editable, a simple jquery extension for making in place editing possible. Link: http://www.dyve.net/jquery/?editable There's some room for improvement, mostly on the "making it foolproof" side. What I really missed was the possibility to catch 404's and timeouts in jQuery Ajax. Any chance that I just missed those options? If not, any chance they might be added? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Visual jQuery
Since you guys all seemed to like my project, I've added a header to the top of my page, and will keep it up permanently. On tap for the near future is my first draft of <span style="font-weight: bold;">jQuery on Rails </span>.<br clear="all"> -- Yehuda Katz Web Developer (ph) 718.877.1325 (fax) 718.686.4288 _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Visual jQuery
Hi Yehuda, I like the concept of Visual jQuery a lot. Just a bit of feedback, further to previous comments: * Could the font size of the code examples be made a little larger? * The active link color can be a bit hard to read sometimes as it closely matches the background image colors Thanks for your work here ... Matthew
[jQuery] Discipline and/or tough love
Thank you John and JQuery! -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of John Resig Sent: Monday, June 12, 2006 3:45 PM To: jQuery Discussion. Subject: Re: [jQuery] Discipline and/or tough love I've already beat you to it. With the release of the new wiki/bug tracking/etc. I set a date for jQuery 1.0 at the end of this month. Essentially, I've already frozen most of the core API as it is, my big push right now is to fix all the known bugs,
[jQuery] WORK IDEA
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1"> <TITLE>WORK IDEA</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT SIZE=2 FACE="Arial">Possibly a good use of JQuery or AJAX or other?</FONT> </P> <P><FONT SIZE=2 FACE="Arial">Ok, I have a 16 part form, is it done. It DOES include client-side javascript.</FONT> <BR><FONT
[jQuery] Nested CSS Jquery Menu, Nearly there - Help?
Hi all, I've created a "suckerfish" menu and added a bit of Jquery to try and get it to work in I.E. This is what I've got so far http://www.markpanay.com/test/jq/menu.html It's so close... But for the life of me I can't get the "hiding" right. Could any of you JS guru's take a look. I'm sure it's something so simple. Once I have the menus hiding correctly any pointers on getting a fancy reveal (slideDown?) on the menus? Best - Mark. -- www.markpanay.com - Jargon Free Development www.labellife.com
[jQuery] $(el).focus(); (formerly Fire Event)
Hi all So, I've been having problems re-focusing one of my elements. Turns out I can fire an event once my Thickbox closes. So straight after, I use the following: $(el).oneblur(function(){focusMe(this);}); focusMe = function(el) { $(el).focus(); } This doesn't seem to be firing as expected and focusing the element. Is jQuery taking over the .focus() method and using it as onfocus? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Next Page