[jQuery] Problem with form validation (works in FF, but not in IE)
Hi folks, <a href="http://seifactory.com/login.php" target="_blank">This page</a> works in FireFox without problem, but doesn't do anything in IE. Now, I'm only talking about validation here, the form doesn't actually *do* anything just yet. All I was trying to do was get the validation going. This is the first time I've attempted to use Jörn's validation plug-in, and I'm kinda getting the hang of it (or so I thought), but now this isn't working in IE so I'm all stumped. I'd like to figure this out
[jQuery] jquery private variable
I create a simple plugins and bind it to two div in my pages. .............................................................. jQuery.jUpload = function() { var test; return { startUpload: function() { alert(test); }, setVars: function(_test) { test = _test; } }; } jQuery.fn.jUpload = function(_test) { this.each(function() { jQuery.jUpload.setVars(_test); var butUpload = jQuery("<button></button>").append('upload');
[jQuery] Best solution for testing under IE6
I want to test my code in IE6. What the easiest way to do that without killing IE7 on my computer?
[jQuery] safari 2.0.4 crash with ajax
hello, i'm not a sophisticated jquery user, but i don't get why Safari 2.0.4 is crashing (and Firefox 2 isn't) with this piece of code: --- $(document).ready(function(){ $("#column2 a").click(function() { $.get(this.href, function(html){ var column1html = $("#column1",html); $("#column1").replaceWith(column1html); }); return false; }); }); --- after some testing i can say the crash seems to happen in $("#column1",html); anybody any idea how to solve that? thank you very much,
[jQuery] load events and timing
Good afternoon all, If I attach an event to iframe page load, something like this: $( '#Content', ReplyFrameDocument ).one( 'load', function() { alert( 'content loaded' ); }); If the content is already loaded will I still get an event fired? If not, what's the recommended way to do this? Thanks
[jQuery] IE6 performance issue when using AJAX??
I have been having an incredible performance issue when requesting content from an external page via jquery's AJAX. Granted, I am requested a large amt. of info from DB tables with stored procedures, but in FF and IE7, the requests and rendering of html are instantaneous. With IE6, the cpu processor maxes out for nearly 40 seconds before allowing functionality to the page again. Has anyone ever experienced the same kind of issues when handling external ajax'ed content with IE6. I have exhausted hours
[jQuery] AJAX cross-domain with jsonp not working on IE6
Hi, I'm trying to get my $.ajax call with jsonp working. It is working on: Firefox, IE7, Safari and every browser on the mac except IE6. :( It does the call and I can see through fiddler that there is a response but it won;t execute the callback function. Code: // url that contains this js code: http://www.example.com $.ajaxSetup({ global : true, dataType: 'jsonp', jsonp : 'jsoncallback', cache : false }); $.ajax({ url: 'http://www.mowd.nl/gop.php', data: {'cust':cust, 'action':'object', 'aid':aid,
[jQuery] passing query string parameters to script file
I am quite new to jQuery but it is coming in very handy already. Currently, I am using it for some basic Ajax which calls a PHP script to populate a small part of a web page. So I have a main file index.php, my jQuery functions in functions.js and my Ajax populated content in mycontent.php. I am using the following code which works fine: $("#sidebar").load("mycontent.php"); However, what I really need to do is pass a parameter to my php file i.e.: $("#sidebar").load("mycontent.php?id=" + id); My
Change function in Textbox
Hi, the function call thru [code]$("...").change(...);[/code] is perfectly working, when I key in manually inside the textbox. I am replacing the text content with the JS stuff, whenever I replace the text content. Based on the content I want to perform some operations. What is the way to achieve this with jQuery? Any one suggest me.
id name
Hi, Since the Id name of my text field is compose of a ".", the code doesnt work. See example bellow, since changing the name of the id will invoke major work since its relate to many other external code. I was wondering if a alternative exist? Thanks. <input type="text" id="product.name"> jQuery(function($){ $("#product.name").mask("99/99/9999",{placeholder:" "}); });
[jQuery] Little problem with ajax perhaps?
Hi, I'm using the jQuery form plugin and SimpleModal plugin and I'm having a little problem that I don't understand why it's happening. As my understanding in the whole thing, this shouldn't be happening and I can't understand why. The thing is, I show a blue popup while the page is loading, it shows on document ready and it hides on window load. Then, you submit a form and the form is submitted by ajax so there is a request and response. On the request I show a blue popup saying the form is submitted
Tilting a .jpg image
Can anyone pass along some help on this. I've tried the following: • swfir: works - lacks the ability to show smooth edges on tilting / users may not have flash installed which would throw the site out of whack • Instant.js: works - lacks decent functionality with <php?> src calls / has an issue loading properly in Wordpress until the second refresh • jquery.rotate.1-1.js: works sometimes - No functionality in Safari and limited ability in Camino ( best of the bunch if it would work ) I'm open
[jQuery] when an AJAX API documentation!!
HI, do you know if it planned to develop an API documentation pure AJAX. I shouldn't say this, but something similar to extJS/doc hehe. Thx!
[jQuery] selectors: selecting every element that is not children of another div
hi, i try to select every element that is not children of another div. i tried different ways but didn't find a solution. regards
[jQuery] How to list the bound events?
Hi, I am trying to debug a piece of code... I have bound a custom event to an element, but when I try to call it via the trigger method, nothing happens. I thought it would be handy if I could get a list of all the events that are bound to a particular element but I can't see how to do that. Is it possible? eg $('#'+targetId).bind('modalClose', function(){ alert('modalClose'); }); ...later... $('#'+targetId).trigger('modalClose'); ...nothing hapens! how do I do something like this: alert( $('#'+targetId).events
unique variables
I create a simple plugins and bind it to two div in my pages. ............. jQuery.jUpload = function() { var test; return { startUpload: function() { alert(test); }, setVars: function(_test) { test = _test; } }; } jQuery.fn.jUpload = function(_test) { this.each(function() { jQuery.jUpload.setVars(_test); var butUpload = jQuery("<button></button>").append('upload'); butUpload.bind('click',
[jQuery] document.onmousedown=selectmouse vs $(document).mousedown(function(){})
this is interesting: I have a standard function in JS, and call it like so: document.onmousedown=trackmouse function trackmouse(){...} works very nicely. I tired to make it happen jQuery-style, but no dice. $(document).mousedown(function(){}) Of course my function is inside an extender jQuery.fn.extend({ trackmouse: function(){...}); It's more of an exercise really, because the plain JS syntax is actually less obtrusive than the jQuery version.
[jQuery] clueTip Flicks in FF
i have used the clueTip pluging but tooltip flicks in FF its working ok in IE/ http://www.unirazz.com/tooltip.html i have also try to $.cluetip.setup new element and position:relevant to body but its not working. thnx
[jQuery] .load errors in IE6 & 7
Ok this is driving me crazy. When executing .load I'm getting a "XMLHttpRequest is Undefined" in IE 6 and in IE7 the error is "Permission Denied". It creates a blank page with this in the source: <script id=__ie_init defer=true src=//:></script> Right before the .load it is successfully executing an ajax call that updates my database. Any ideas?
[jQuery] Menu using jQuery based on Joel Birch's Superfish menu
Check out http://forrestcroce.com. It's using a three-tiered dropline menu which is a style variant of Joel Birch's Superfish menu. It's styled for the child menus to "step down" from the parent with space between to give a see-through effect without transparency (except in IE6, but it works there nonetheless). Joel, you said on your page you check here periodically, and I wanted you to see this. I'm hoping to spread the word on your creation, because I hope that this is the direction many menus
[jQuery] Probs..
Hey Folks! This is Sandeep & new to this group, I want help in AJAX. IN AJAX how a frame opens by dimming the page, when we click on a Image? Can u suggest any Link r code?? Thanks<br clear="all"> -- Best Regards, Sai Sandeep Thota.
[jQuery] Attribute Selector
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>Message</TITLE> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.2900.3157" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=627361800-26022008><FONT face=Arial size=2>Correct me if I am wrong...</FONT></SPAN></DIV> <DIV><SPAN class=627361800-26022008><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=627361800-26022008><FONT face=Arial size=2>This selector should:</FONT></SPAN></DIV>
[jQuery] jcarousel not loading fully in safair
Hello All: We're getting ready to launch an awesome library of Mathematica generated screensavers and desktop backgrounds at wolfram research, where I'm senior graphic designer. We've got the jcarousel set up, loading images and working fantastic - EXCEPT in Safari. On entering the page in safari only two images are loaded and the rest are blank - as soon as you click on the next arrows (which aren't displaying quite correctly - a second issue) - the full carousel loads (although I do notice the
[jQuery] Tabs - Rempote tabs with jQuery not working
<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>I have a page creating new remote tabs on the fly, however, the remote tabs which have jQuery it them do not work. Is it possible to get the jQuery in them to work? If not, is there a solution that allows for tabs and for jQuery to be used in the tabs. Thanks. Seth</div></div></body></html>
[jQuery] Can't Add a checked=checked Attribute to Input tag
Very simply, I want this function to attach the attribute checked=checked to the input with the id=ext[agree]Y. The following code does not do this and I'm not sure why... $("ext\\[agree\\]Y").attr("checked", "checked"); Any help or ideas is greatly appreciated. Other ways of doing this would be great as well. I just want to add this upon form submission. Thanks.
[jQuery] textArea select text.
How do I mark the text in a textArea as selected? In DOM it would be document.getElementById("textAreaElm").select(); But is does not work in jquery. Please help,
[jQuery] validation plug-in and error placement -- need help
Hi folks, I'm in need of some assistance in figuring out how to place error messages via Jörn's form validation plug-in. I'm not sure I understand how it works. So far what appears to happen is that the plug-in itself adds a <label> tag with the class "error" and then the text of the error that I've specified in my code or the default if I've left one out. I know there's some documentation on this, and I continue to read it, but up to now I don't seem to be catching on to quickly. If someone had
[jQuery] AjaxCFC and jQuery 1.2.2 and above
Hey all, I was working with the new jQuery 1.2.3 over the weekend and noticed that it broke my ajaxCFC installation. I had to roll back to jQuery 1.2.1 before ajaxCFC would work again. Has anyone else noticed this? If so has anyone done a port of ajaxCFC to jQ 1.2.2 and above? It looks like development of ajaxCFC has ground to a halt...bummer... -- Josh
[jQuery] tr background toggle
Hi, I have a problem with my toggle function...it disables all the links in the tr (when i click on the link it just changes the color of the tr)...How do i fix it? $(".table_data tr").toggle( function(){ $(this).css("background-color","#FEFFAF"); }, function(){ $(this).css("background-color","#FFF"); } ); Thanks! BR
[jQuery] Google conversion code and ui.accordion conflict
I'm having problems tracking goal conversions with google analytics. We discovered after disabling all our javascript individually we isolated our ui.accordion script as the cause for this. Anyone else have experiences with problems with the two?
[jQuery] Select all control for tablesorter+pager?
Hi all I've been using the tablesorter+pager plugin quite effectively up to now. Now, I'd like to add a gmail style "select all" control, i.e one that * selects the rows in the current page * shows a link saying "select all the xxx items (in yyy pages)", which selects all the records in all the pages The problem is, I can't find a hook for doing so. AFAIK the pager plugin relies on the tablesorter cache to modify the table body. Anyone with some suggestions? thanks a lot, cheers F
[jQuery] Which jquery plugin is best to use to create this effect
Hi I am back into jquery since a long time due to other work <a href="http://phorsite.com/">http://phorsite.com/</a> which jquery plugin would be the best to create this effect in a jquery enabled site Armand
[jQuery] File uploads in JQuery Forms plugin
The doc says that Forms targets a hidden iframe for the server response when submitting the form. The problem is, I need to see what that server response is to see if the submission was successful or not. Is there a way to get a hold of the hidden iframe so i can traverse its contents?
[jQuery] Simple jQuery AJAX, going crazy.
Hi, I'm trying to retrieve some XML with jQuery and process it. Following the tutorials I got this: $(function() { $.ajax({ type: "GET", url: "xml.php", dataType: "xml", success: function(xml){ alert('success'); }, error: function(){ alert('error'); }}); }); Now, of course, this doesn't process anything, but the problem is I never get any of the alerts. The AJAX request succeeds according to Firebug. Does anyone see what I'm doing wrong? Thanks in advance!
[jQuery] $.width() not giving me the true size....
I have a DIV that I'm appending n spans to. The spans are positioned absolutely, the Div relatively. Also, the spans have whitespace set to nowrap and the Div's parent overflow is set to hidden. When I call $("#divname").width() I get its absolute width ( which is its parent's width since it's set to 100%) and not the "true" width including the size of the overflowed elements. Am I expecting too much? How can I find the real size without looping through all the child elements and adding their widths
[jQuery] jQuery.load() problems
I have a site thats uses jQuery.load(). However the method stopped working for me correctly when the new filter logic was added. If I used jQuery v1.1.3.1 it works. Anything new than this version does not behave correctly. I am using the following code: var loc = 'http://www.ludoholic.com/my.games'; ... function refreshPage(id, parameters) { $("#" + id).css("cursor", "wait"); $("#content").load(loc + "?refresh=1&" + parameters, null, function() { $("#" + id).css("cursor", "auto") } ); } The problem
[jQuery] Media Plugin Issue
I'm trying to use the Media Plugin as it appears to be a gift from god in the way it handles multiple media types with the same code. Unfortunately, I've got two problems: 1) I can't get it to acknowledge my custom flash video player. When I do something like: $(".mediabox").mediabox({ "flvPlayer" : "http://www.foobar.com/fooplayer.swf }); and then click on a link, say: <a class="mediabox" href="http://www.foobar.com/media/bar.flv">Watch Now!</a> Firebug tells me I've requested the following URL:
[jQuery] trying to find the first instance of a person's name on the page
Hello, I am trying to find the first instance of a persons name on a page and add a link to their bio. I have seen a lot of example of selecting elements by their tag/class/ id or finding an element that contains certain text but I am at a loss for finding and wrapping just some text. Is this a RegExp case? Thanks, Stephen
[jQuery] Getting started
Hi, Is there anywhere listed all functions that is added by including jquery? Best Regards - Jon
[jQuery] Problem with .change and .val in IE
In the following code: <html><head> <script type="text/javascript" src="jquery.js"></script> <script> $(document).ready(function() { $('#theinput').change(function(){ $(this).val('something else'); alert('hello'); }); }); </script> </head><body><form> <input type="text" id="theinput" name="theinput"> </form></body></html> On first try, when I enter the text 'something' and click outside the input, the 'change' event will
Next Page