[jQuery] Bug : IE + slidetoggle + input radio
Hello everybody, I wanted to make a slidetoogle on a div which content inputs radios. Some of these inputs were checked at loading, also if the div were closed (hidden) With Firefox, I click to open the div, all inputs radios with a check initial state are well checked . On the other hand under IE nothing, no input radio checked... If you have a solution so that that also goes under IE :) Thank you. Sorry for my english...
[jQuery] using jquery to see if an ID occurs twice
Hi, How can I use JQuery to discover if a particular ID occurs twice in my page? I can't use "View Source' because the DOM is changing as the user interacts with the page. Thanks, - Dave
[jQuery] IE Caching AJAX calls
Hi... So... I just noticed that IE is caching my AJAX requests (I code to Firefox, and then test IE later). I expect some of you have run into this problem before. Of course, I can create unique request string by appending a "Request Identifer" to each URL. I found this great UUID javascript that works nicely. However, It is a pain to have to do this to every request. Is the something in JQuery that addresses this? Are there any other solutions, like changing header values in a request /response
[jQuery] New plugin: Model (for client-side MVC implementations)
Hello, I've got a new plugin for jQuery. It's a simple data model, useful for implementing a client-side MVC pattern. The data model is a simple javascript object/array hiearchy. The plugin provides methods for binding parts of the model to DOM elements and/or functions - so that when the value of an element changes the model is changed and if the model changes the elements are updated too, or a function be called on a change too. It's similar to the XForms concept, but relies on jQuery and Javascript
[jQuery] JavaScript not working within page brought up by clicking AJAX tab.
I am unable to use JavaScript within a page brought up when I click an AJAX tab. The AJAX tab script I'm using came from here: http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/ For right now, the page being called has only a simple "alert();" command inside. When I go to this page directly within Firefox or Safari the alert dialog box comes up as it should. When I do it within the AJAX tabs section I get nothing. This seems like such a severe limitation and I can't find anything about it
[jQuery] JQuery Powered Site- Just Launched- AskSolvers.com
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
[jQuery] $().width and IE
I'm having a little trouble with the width function of jQuery and IE, I suspect that what I've run into is an IE bug rather than a jQuery one, but it's annoying nonetheless and I'd like some advice for a fix. My problem is that I need to create an effect where elements inside a containing element move to new positions. This means the contained elements have to be set position: absolute for the duration of the effect. Of course, doing this to every element inside a container causes the container to
[jQuery] multiple AJAX requests
I have a page with 2 AJAX requests that happen on document.ready... here's what happens: request1 goes out request2 goes out request2 receives response intended for request1 response comes in from request2, but does not get handled What do I do about this? -- Alex
[jQuery] multiple AJAX requests
I have a page with 2 AJAX requests that happen on document.ready... here's what happens: request1 goes out request2 goes out request2 receives response intended for request1 response comes in from request2, but does not get handled What do I do about this? -- Alex
[jQuery] KelvinLuck - DatePicker V2 - another question..
hi, All is now working well.. But i would like to specify a range of dates to appears different .. yet, i use this code : var Holidays = {}; Holidays['d' + ((new Date(2007, 9, 27)).getTime())] = 'Toussaint'; Holidays['d' + ((new Date(2007, 9, 28)).getTime())] = 'Toussaint'; Holidays['d' + ((new Date(2007, 9, 29)).getTime())] = 'Toussaint'; Holidays['d' + ((new Date(2007, 9, 30)).getTime())] = 'Toussaint'; Holidays['d' + ((new Date(2007, 9, 31)).getTime())] = 'Toussaint'; Holidays['d' + ((new Date(2007,
[jQuery] Issue building an AJAX form with the Form plug-in - can you post to a page on sub-domain?
I build an AJAX form that uses the default Form plug-in. The form resides on an XXX.myserver.com and it's posting to an action page on YYY.myserver.com. When I test the page and submit the form, I get directed to the action page. If I put the action page on XXX.myserver.com and change the code to reflect that..., the page works and the form is reset. Is there something that I am missing? -Enayet
[jQuery] question about a javascript syntax
I found Jörn Zaefferer's "jQuery plugin authoring guide" at http://bassistance.de/2006/12/27/jquery-plugin-authoring-guide/, there i found javascript syntax like this: ======================== (function() { // some code here })(); ======================== (function($) { // some code here })(jQuery); ======================== it really works,but i donno what exactly this syntax means,anyone can explain it? great thanks!
[jQuery] validate plugin + form plugin + thickbox
Hi Everyone, I had an earlier problem that I asked about a couple days ago, turns out it was just formatting bugs, but now I have a couple more. Here's the problem: I'm trying to use the form plugin, the validate plugin, and thickbox together. The thickbox window has the form in it, which is loaded from a hidden inline div in the page. The form is ajax submitted after being validated by the validate plugin. I have two issues I'm trying to deal with. 1. IE7/6 will run the validate script once correctly,
[jQuery] $(document).ready fires endlessly in firefox, opera
The title pretty much says it all. I can't find for sure what's causing it but I suspect that other scripts that mine has to work alongside are causing this problem. Interestingly it doesn't happen in IE, but what does happen is that various effects and functions that are supposed to run on ready get interrupted and are left in a half-finished state. It doesn't happen on a majority of pages but on several it does happen and it really can screw things up quite badly. I don't think removing the offending
[jQuery] history plugin examples
Hey all, Wanted to see if anyone is using the history plugin so I can get better examples on how to use it on bigger sites. Thanks.<br clear="all"> -- Benjamin Sterling <a href="http://www.KenzoMedia.com"> http://www.KenzoMedia.com</a> <a href="http://www.KenzoHosting.com">http://www.KenzoHosting.com</a>
[jQuery] jquery tabs: adding a tab on the fly
Hi, Regarding JQuery Tabs (http://stilbuero.de/2006/05/13/accessible- unobtrusive-javascript-tabs-with-jquery/), is there an elegant way to add a new tab after the page has loaded and the tabs have already been constructed? That is, I have already made this call $('#container').tabs(1, { remote: true, fxFade: true, fxSpeed: 'fast', onShow: function(clicked, shown, hidden) { clickTabAction(shown, p_checkForNewTab); } }); but now I want to dynamically add another tab to the mix and have it behave like
[jQuery] What does jQuery return for 'null'?
Hi, I was just curious as to what jQuery returns instead of 'null' when it can't find an element? e.g. if I wanted to run some code if a certain element was on the page, this doesn't return null: if ($('#categories') != null) { alert('foo'); } but getting out of the jQuery object does: if ($('#categories')[0] != null) { alert('foo'); } So if it doesn't return 'null', what does it return?
[jQuery] Simple RSS Headlines
Working on my company site: <a href="http://beta-www.marketo.com">http://beta-www.marketo.com</a> I am trying to include the last 3 headers from the blog. Is there a jQuery plugin to pull from an RSS feed and turn them into headers? How is this done? I am an RSS newbie, I am embarrassed to say. Thanks for any help. Glen
[jQuery] Support you the best free forum!
also ,its a spam.but if you need,come on .thank you . support you the best free forum .www.forumgogo.com Free Unlimited Storage Free Unlimited Bandwidth Free Free Subdomain Free More Skins Free No annoying pop-ups Free 99% Uptime Free Daily Backups Free Fast, Friendly Tech Support So,what's that? That's our free forum named http://www.forumgogo.com We have the human_based management also provide you human_based forum service. You needn't,we won't ! This is a great site that is completely free, and
[jQuery] Star Rating System
Hi Folks I would like to suggest a improvement in this amazing plugin <a href="http://php.scripts.psu.edu/rja171/widgets/rating.php">http://php.scripts.psu.edu/rja171/widgets/rating.php</a> look <a href="http://www.imdb.com/title/tt0413300/"> http://www.imdb.com/title/tt0413300/</a> You have User Rating: 7.4/10 average . This average could be in a container for example <div id="average'>7.4</div> and should be the default value. About the action I still confuse. My CMS provide me: <form class="nodevote-form"
[jQuery] canvas graph + draggable node and link
Hi, I am wondering has any ever tried building a canvas library based on jQuery. I don't mean to say line/bar graph but canvas graph like yahoo pipes where you can create new boxes and link them through lines. Please let me know if there is one that I can easily integrate with my project Regards, Ritesh
[jQuery] newbie onmouseover onmouseout
Just getting started... I have several unordered lists on a page. I want to add a class 'hilite' to an ordered list onmouseover and remove the class onmouseout. So far, so good. My problem is that while the mouse is inside the ordered list, an onmouseout event fires when the mouse moves over a list item (but is still inside the ordered list). What methods are available to detect this condition as I do not want to removeClass('hilite') while I am in the ordered list but hovering over a list item?
[jQuery] getJSON() or post() parameter question
This is actually probably more relevant to post() since I can concatenate the parameters with the link for getJSON(), but here we go anyway. I am pulling JSON information from the server for menu links, and then creating the menu off of that. Let's say that I have {page: 'update.php', linkname: 'Update Joe', vars: [{name: 'name', value: 'Joe'}, {name: 'age', value: '24'}]} as information that was returned for the link from the server (sorry if the JSON isn't quite right). If I were to put this directly
[jQuery] Controlling Scroll bars ...
Hi there ... I'm working on a site with a sort of Google Reader feel to it, but when you vote on the articles they go away with .hide() The problem is this causes the screen to be in the wrong position (skipping past several unread articles) ... I'd like to set the vertical scroll bar position to the top the next article. Is there a way with jquery to set the position of a scroll bar? Any examples? Thanks in advance, -Sandy PS> LOVE JQUERY!
[jQuery] mouse flicker when animation is taking place in IE
I have a very simple question. Whenever fading out, fading in, slidedown, slideup etc animations occur (for me on my notebook), the IE shows flickering of mouse over the screen as if it is downloading something. Thats does not happen in FF. I wonder why does this happen. Im sure it is not a bug but some default property of our beloved IE that does it and I hope there is some extra line of code (like ! important in css) to tame this behavior in IE.
[jQuery] help troubleshooting a text field focus problem
Hi, I wanted to get some advice on how I can troubleshoot this problem. When I click on an particular block of text, I'd like to have that text replaced by a editable INPUT text field with the value of the text, with the cursor automatically in the text field. Unfortunately, the following block inserts the text field properly, but doesn't put the focus of the cursor in the text field: $(".tabs-selected .tabText").click( function() { var lastParensIndex = $ (this).text().lastIndexOf(" ("); var item
[jQuery] Validate triggering
Hi, I'm using the validate plug-in and I works great. But (there's always a but :), I want to be able to trigger the validation via js, as I'm doing other stuff before submitting the form and I need to know if the form is valid. Regards, Emil Ivanov
[jQuery] simple div with scrollbar plugin
I am in need of a simple div with scrollbar plugisn. I am not quite sure how to write one. Is there one out there? Thanks
[jQuery] jqModal question
I have a page with a list of volunteers for an event. Their "status" is displayed as to whether the have not received an invitation (class="invite"), they received an invitation and haven't responded (class="unknown"), they accepted the invitation (class="accepted"), they declined the invitation (class="declined"). These are displayed as images with the volunteer's ID as the id of the image. I have successfully attached a click event to send the invitation when none has been sent (class="invite"),
[jQuery] Tablesorter: what am I doing wrong?
Good morning! I'm trying to use tablesorter on a dynamically generated table. Most of the columns sort fine. However, I'm having issues with the number columns. One of the columns is called "Account Number" and it's a series of integers. When sorted, I get this sort of effect: Acct # -------- 809 808 8079 807 806 Which seems to me like it's sorting the numbers as if they were strings and not integers. Another column is a series of floats representing owed balances on the accounts. Again, it seems
[jQuery] chaining question
If the function below (which is called in a mouseover event) is run too many times, too quickly it doesn't work (i.e. the html in question is not changed) function loadedContentProcess(tab,result){ content[tab] = result; $ ("#popular_quicksearch_content").hide().html(content[tab]).fadeIn("slow"); } However if I change the function this (below) it works great not matter how many times (and how quickly) it is called. Why? function loadedContentProcess(tab,result){ content[tab] = result;
[jQuery] My first plugin - expand/collapse
Hi Guys, I've just released my first jQuery plugin in to the wild and would like to get everyone's thoughts on it. Have I done it right? How can I improve it? How might I extend it. See what you think http://www.ok-cool.com/posts/read/19-jquery-for-programmers-part-1 Cheers Tom -- Tom Holder Technical Director SimpleWeb Limited Great websites. Low cost. No catch. http://www.simpleweb-online.co.uk/
[jQuery] jQuery is() with more than 1 element
For part of a javascript I'm working on I need to process elements in a HTML document but only if they are of a specific type or are not contained within a specific type. I wanted to use code as follows $(html *).each { if $(this).is ('a, h1, h2, h3') return // Processing goes here } I discovered that this could lead to problems if, for example there is a <span> tag contained within an <a> tag (I know that isn't strictly speaking legal HTML but I don't have any control over it. It's generated server
[jQuery] NEWS: Wordpress 2.2 Switches to jQuery
You can read the details here: http://ajax.phpmagazine.net/2007/05/wordpress_22_released_and_swit.html Rey... -- BrightLight Development, LLC. 954-775-1111 (o) 954-600-2726 (c) rey@iambright.com http://www.iambright.com
[jQuery] New plugin: equalize column heights
I've posted this to the discussion list once before, but now I've put together a simple demo page for my equalize column heights plugin: http://www.tomdeater.com/jquery/equalize_columns/
[jQuery] Adding a Callback function.
Hi folks, I've got a need for one of my functions to accept a callback function as a parameter (if that's even the right way to do it). Anyway, I'm having trouble and I'm hoping that someone here could help me. This particular situation deals with a parent page, and a child page which is loaded inside of a thickbox window. So the parent page has a function that looks like this: function DisplayScreen(currentScreenString, methodName, contentID){ if(arguments.length < 3){ contentID = "MainContent";
[jQuery] Convert xml string to dom document
Hello, I have a static html page containing xml code. Problem is that when I do an ajax request to get the content, it is always returned as a text/html I would like to parse the return string as a dom document. It is impossible for us to change the extension, so I was wondering if there is a possibility to convert the return string to a dom document. I use sarissa now for this, but It would be much better if jquery had somthing like this. Can somebody help me please? -- View this message in context:
[jQuery] DOM friendly link creation
I had previously written a javascript that scans a div inside a HTML document for keywords and then wraps those words in hyperlinks, as part of adynamic help system. This worked by modifying the innerHTML of the div in question. This approach worked but had a few problems, namely that you had to be careful you didn't accidentally try to wrap links around form elements, tag attributes and other such things, and that it didn't work in Safari. I did a recode recently that made use of the jQuery library.
[jQuery] Concurrent Ajax request
Hi everybody! I'm trying to create a page that: - refreshes every 5 seconds some part of it. - if a button is pressed, to post data to a web service. The problem is that the second ajax request wait until the first finish, and doesn't run concurrently. The code i use is this: function SetOffertaAsta() { if (confirm('Sicuro?')) { $("div#" + divContenutorePulsanteOfferta).hide(); ScriviMessaggio('Elaborazione offerta...'); $.ajax({ url: WebServicePath + 'setOffertaAsta',
[jQuery] Simple .load does not work in IE7
Hi all, I'm very new to jquery and am really excited about it. But I'm having a rough time even getting the simplest .load ajax call to work in IE. Here's my code, it works fine in Firefox 2, but I get a Line 1, Char 1, Unknown runtime error in IE. test1.html <html> <head> <title>Ajax with jQuery Example</title> <script type="text/javaScript" src="jquery-1.1.2.pack.js"></script> <script type="text/javaScript"> $(document).ready(function(){ $("#ajax").click(function(){ $("#quote p").load("test2.html");
Next Page