[jQuery] $.ajax timeout and trouble with Microsoft IIS 6
Hi all, i've a client side scrit that do a request to a server the server sleep for a 10 seconds and the respond, in the client side script i setup the timeout option at 1 second (1000) and i want to catch the error thrown (like explained all around the web :) ) a bit of code explain better: //client side $.ajax({ type: "GET", url: "some.php", data: "name=John&location=Boston", timeout: 1000 success: function(msg){ alert( "Data Saved: " + msg ); }, error:function(request, errorType, errorThrown){
[jQuery] $ javascript syntax
i tried searching the web, but couldnt find $ notation for javascript, but presumably it is javascript syntax as per the following example syntax: $(document).ready(function() could someone please shine some light on this for me..? thx, Jerome.
Drag, Drop, Sort into each other as well into parent
Hi all This is my first post. I did do a search and came back with some answers however my question seems to be a little bit more complex (to me at least). Overview: I have a group of pages that can have sub pages (only to one level though). When a user adds a page into the system he/she can choose a parent page it belongs to or if its on its own. A user can also change its parent when the page is edited as well. Question: What i need to do is when the user comes to view a list of pages and their
Problems with creating a pager effect with a kwicks nav
Hello all, I created a Kwicks style nav and I am trying to make each of the buttons fade in a certain area of content. Each of the buttons fades in their areas correctly, but after I hit one button, it won't do anything when I hit another button after that. I'm pretty sure it has something to do with the jquery code that is effecting the fading in that the area is told to fadeOut and after that won't fade back in after clicking another button. Here's a page with the problem: http://idea-palette.com/testfolder/pagetest3e.html
Problem on IE7 with a simple slideshow
I'm using this slideshow and i have a problem under IE : the display is weird and the slideshow won't restart when ended. I didn't modify the code very much but instead of working directly with img's i work with li's. Its works perfectly with Firefox. The problem : http://pub.straburo.fr/ (see with firefox then IE) The code : <ul id="homepageslideshow"> <li class="active"> <a href="/php5.alnetis.fr/straburo/1980-product-1980.html" title="FAUTEUIL STANLEY" class="product_image"> <img
sortables update function
okay so i figured it out but when i call update it does nothing any ideas? $j(document).ready(function(){ $j("#myList").sortable({ cursor : 'move', update : function(){ sorted = $j(this).sortabled("serialize","id"); alert(sorted); } }); });
[jQuery] How to get values of child popup window
Hi All, I want to get values set in child popup window using jquery Example i have opened new window let's say popup1 in that window agin one popup is opened let's say popup2. In popup2 i have one textbox. After we close popup2 window i want textbox value in popup1 window. Can anyonw help me about how to do so using jquery? Regards, Sarita
[jQuery] jQuery show(), hide() problems
Hi, I would like some help to understand why this code works perfectly fine the first time I open the window and close it, after this I cannot open the window any more, unless I reload the page. Thanks for any ideas! function openWindow(messageText) { $("#appendRow").TransferTo( { to:'window', className:'transferer2', duration: 400, complete: function() { jQuery('#window').show();
[jQuery] auto refresh after x seconds ???
Hi, I`m using one portal that use YUI , but I`m not familiar with YUI ; So I`m looking for a solution with jQuery ; Problem : I have a <div id="records">#anything#</div> in my page layout . Now I need to refresh <div id="records"> #anything#</div> content after 30 seconds in a AJAX manner (without reloading browser) . Also I would like to have some animations (like FadeIn or FadeOut) in every refresh . Please guide me .
[jQuery] Toggle child elements
Hi All, Quite new to jQuery so would very much appreciate your help. http://www.punklogic.com.au/contact-punk-logic.htm if you click on the tab in the header called 'PunkLogic elsewhere' you will notice I have used the toggle command to view a div in the header. Problem is, the elements <ul> <li> etc inside that div do not toggle with the main div. I would like all of the elements inside this div to follow the same motion, not just appear once the toggle is finished. Any suggestions would be greatly
[jQuery] CSS ordering / paypal donation?
Just as a note the default stylesheets are coupled by cascade order, I use ZF which handles linking in CSS files for me etc... so I had no idea that's what had changed. If it had been on the site it would have saved me a few hours of debugging my own code. Also I tried to do a donation and it went thru on paypal but because paypal is crappy they never even prompted me for a credit card, they did this before and overdrew my bank by like $80 for a $5 donation to someone, so aggravating. I guess the
[jQuery] jQuery .post and.load with some PHP
Okay, so I have This PHP code. It creates a list of all the categories from database and it creates a div with all the items from the database. Each item is associated with a category id as to which category it is apart of. The list of categories should be clicked on and then the jQuery will run a post of the category id and then reload the list of items to only show items in the selected category. if(!empty($_POST) || $catSortID != "") { $catSortID = $_POST['catSortID']; $catSortItem = "
[jQuery] Edit list of items in selector.
Hello All, I am trying to reset the list of values in a selector with new a set values I have in a list of JSON objects. I dont know the proper syntax for doing this any help is greatly appreciated as I've searched the web for this and couldn't find anything on it. The only way I know would work is regenerate the selector via generating html in a function (which is no fun). Seems like there should be a better way.
[jQuery] Formatting Anomaly in IE7 after Fadein?
I'm a total newbie to all the weird glitches that we have to deal with in IE7. I've just uploaded my site to my production server, and everything seems to be working except for a number of IE7 formatting errors. For example, on my home page, there's a button on the lower right called "Take a Site Tour". Clicking it triggers a slideup of a div, and then a fadein. On Safari and Firefox 2 and 3, everything looks fine. On IE7, the div is compressed to less than 1/2 its proper width, and pushed out of
[jQuery] jquery 1.2.6 focus problem?
Hey all, Our project is using 1.2.6, but we seem to have an issue with calling: $('#some-textbox-id').focus(); The element focuses properly, but it seems like the next time you press the tab key the focus completely disappears and you have to hit it several times to get it back into the flow of the document rather then going to the next focusable element in the DOM. Is this a bug or am I missing something? If you click back onto the document and focus on something it will resume the natural behavior.
[jQuery] Any way to get all attibutes of a node?
Is there any way to use jquery to get an array of all attributes a given node has? I'm writing some code to process a page where the user might have added custom attribute names that I can't know about in advance but need to detect.
[jQuery] problem with jQuery().TransferTo complete:
Hi, I am having a problem with jQuery().TransferTo complete: The complete is only called the first time the method openWindow is invoked, why? This is the method invocation sequence openWindow -> Success closeWindow -> Success openWindow -> alert "inside if, opening window..." Success complete: never gets invoked Thanks for any help!! function openWindow(messageText) { if($('#window').css('display') == 'none') { alert("inside if, opening window..."); $("#appendRow").TransferTo(
How to get the (absolute) X, Y coordinate of image or div
... and second questions: how do I move a DIV to a different (absolute) position?
[jQuery] IE Reports 0 children()
FF works fine, IE however reports 0 children() and I am finding it difficult to solve. Example XML retrieve from $.get: <?xml version="1.0" encoding="UTF-8"?> <letter> <paragraph>text <paragraph>text </paragraph></paragraph> <paragraph>text</paragraph> </letter> The code: jQuery.get("process.asp", {job:"getLetter", letterID:letterName, type:"xml"}, function(xml){ alert(jQuery(xml).children().length); } Have I got awry somewhere? Seems pretty straight forward. I've tried removing the xml doc definition
[jQuery] jQuery show(), hide() problems
Hi, I would like some help to understand why this code works perfectly fine the first time I open the window and close it, after this I cannot open the window any more, unless I reload the page. Thanks for any ideas! function openWindow(messageText) { $("#appendRow").TransferTo( { to:'window', className:'transferer2', duration: 400, complete: function() { jQuery('#window').show();
[jQuery] Submit button usage for SimpleModal - what am I missing?
Hi, I am using SimpleModal, and would like to fire a modal on the click of an input button. When the function fires, it flashes the modal for a brief moment and then dissapears... can anyone give me a hand? It's pretty basic: <input name="button1" type="image" onclick="$('#myDiv').modal ('test');" value="Calculate" src="calc/images/Calculate_btn.gif" /> Any ideas? Apologies if this is not where to post to...
[jQuery] Tabbed user interface
Hi, I'm trying to build a tabbed user interface based upon the themeroller css and demo.html found in the themeroller zip file. It connects to a database and loads data into the tabs when required. The interface is set-up to provide a customer back-end, so that the customer can update their account, adjust settings, view recent notices etc. Hopefully, this should be applicable to what other people are building. I've made a start (see http://jquerytabbedinterface.blogspot.com/ and http://www.yyytest.com/jquery/demo.asp?UI=12345678)
[jQuery] Continuing to Seek Rounded Corners on Absolutely Positioned Elements that Work in IE7
The latest approach I'm trying uses a more old-school technique, described here: http://www.schillmania.com/content/projects/even-more-rounded-corners/ For most uses, it works very well. But for absolutely positioned objects, one of the divs seems to disappear in IE7. Here's a demo using it with an absolutely positioned object: http://www.flavorzoom.com/schillmania_tryout/temp.html It looks great in Firefox, but not in IE7. Is there a way to tweak the CSS to get this to work in IE7? Thanks in advance
treeTable and tablesorter
I was wondering if anyone here could point me in the right direction. I'm attempting to use the treeTable plugin and maybe the tablesorter plugin together. I'd like to be able to column sort the nodes within the treeTable table. So I have a table with columns like region, salesperson, and sales total. I'd like to be able to click on the column header of the sales total and have the salespeople sorted by that column within the region they belong to. Any help would be appreciated.
[jQuery] [autocomplete] Autocompletion in dynamic inputs
Hello, i'm using the autocomplete plugin (http://docs.jquery.com/Plugins/ Autocomplete) on my site. On static inputs, it worked fine: HTML: <form autocomplete="off"> <input type="text" id="suggest" /> <input type="button" value="Search" OnClick="something()" /> </form> jQuery: $(document).ready(function() { $("#suggest").autocomplete('searchbox', { width: 210, multiple: false, matchContains: false, formatItem: formatItem, formatResult: formatResult }); });
[jQuery] Autocomplete Plug-in: Submit with TAB?
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher"
[jQuery] Recursion issue with nested lists.
For a short summary on my issue, all that remains is the text() function returning the string of all the node values under the one i'm currently working with. This is by design, but I don't want it to do this and for the life of me cannot discover a way to exclude all the child nodes from text()!. The XML example: <letter> <paragraph>data <paragraph>more data <paragraph>even more data </paragraph></paragraph></paragraph> </letter> I've designed a recursive function to move through the list until
[jQuery] jquery not working at all after upgrade to 1.3.1
I have various jquery apps. In 1.3.1 I get the error "$ ('#id3').functionName is not a function. I switch to 1.2.6 and everything works fine. Anyone else running into this?
[jQuery] Text Manipulation
Hi, I'm trying to create a sign up form where after the user inputs their email address when they click or tab down to the next field (username field) it auto-populates it with their email address but with the "@xxxxx.xxx" section stripped from it. i.e. if the user puts "john@johndoe.com" into the email field when they tab to the username field it will auto-populate with "john". I have achieved auto-populating the field with the email address but I'm not sure how to remove the "@johndoe.com" part.
[jQuery] showing animated gif when redirecting to new a page
Hi all, I'm having trouble showing an animated gif (to indicate that the page is loading) when redirecting to a new page. There are several tabs a user can choose, each taking them to a different page in the site. I think this almost works, but I don't like how the screen goes entirely blank. I've tried using fadeTo but the gif will show up as being unanimated. The same seems to be true if I don't use use the fadeOut and only use the fadeIn. How can I just show the animated gif as a user is redirected
[jQuery] Which Jquery Plugin can do that
http://sitebuilder.websitewelcome.com/Wizard/Pages http://sitebuilder.websitewelcome.com/Wizard/Pages Hello everyone, Please go to that link and click on "Pages" They are using prototype on that site, but I rather use Jquery. When you check a page checkbox, you are able to send it to the right, to the left, move it up and down. Can someone point me to a Jquery plugin that can do that? Thank you -- View this message in context: http://www.nabble.com/Which-Jquery-Plugin-can-do-that-tp21660540s27240p21660540.html
[jQuery] Closing the modal pop up programmatically
Hi all. I see the obvious "simplemodal-close" class, which by default will close the modal object. However, the problem I am having is that the modal div's html is being populated by an ajax call for a remote page. The response'd HTML contains the "simplemodal-close" class, however its not being parsed because it is being loaded after the modal object's creation. So to recap: simplemodal-close works fine for items parsed at creation, however when loading html from a remote source using an ajax call;
[jQuery] How to get the value of List and concatenate with JQUERY
Hi All, I have a list which is being populated dynamically from the database.I am trying to capture the value of the list items (using click function) and pass it to a query to get the result set.The value attribute has been deprecated for LI.Please tell me a way to capture the LI value. <ul id="developerul"> <li value='1'>One</li> <li value='2'>Two</li> <li value='3'>three</li> </ul> For the above I have tried $("#developerul".children()) and also $(this).children() But does not work. -------------------------------------
[jQuery] this (class) + id + text
Hey, sorry for the weird topic but i couldn't find a better one so i choose this! ;) Right now, i got this code: $('.show_image').hover( function(){ $('.image').show(); }, function(){ $('.image').hide(); } ); The href looks like this: <a href="#" class='show_image' id="image_1">Show Image 1</a> ... So, if i mouseover one of my 10 show_image classes, all image are shown. What i want is, that only the image
Dropdown not working in IE - good in Firefox
Hi all... I hope someone can help. We have a quote ajax/jquery form that works in Firefox (the dropdown values can be seen), but doesn't work in Internet Explorer. See - http://www.villagevetinsurance.co.uk/quote_engine/ The problem is with step 2 of the process. On step 1 - just put in a post code (i.e. sw7 2rl)... then click 'Go to step 2'. On step 2 - click the 'Cat' or 'Dog' radio buttons. In Firefox choosing between the 2 radio buttons, changes the 'Pet breed' - either cat breeds or dog breeds
AJAX form submission with JQuery
Hello all, I'm pretty much a JS n00b and require some assistance with my JQuery form submission. As you will see from my code I'm doing the validation with PHP and PHP will show an error message or a success message upon submission. I wish to avoid the page load so I thought I'd use some AJAX. Please see below for my code: http://clients.abstractx.co.uk/atom <?php if($added == "1") { echo "<h3>Thank you for subscribing!</h3>"; } else if($deleted == "1") { echo "<h3> " . $email
NEWBIE HELP: I just want to play my movie without autostarti
OK.... I'm sorta new to PHP, Flash, and JAVA... but not new to the concepts of programming. I have a site with flash videos on it. I would like them to have some way for the user to play them - (and know to play them) - without using autostart. All of my searching the internet has lead me to this script, "jquery", but I can't find anything SIMPLE to explain how to add a play button/menu/control to my flash piece. I'm guessing I'm not the first to ask, but all search results I tried in this, and every
Problem with datepicker server date
How i can to set date in datepicker as server date? Server date in know by php.
[jQuery] Suggester under browser's one
I'm building simple mechanism to show user's list of possible choices after s/he writes some letters to input box. but, browser remembers last choices (after form submit) and shows its own suggest over my suggester. Is there any way to hide/stop showing browser's original suggester?
[jQuery] SlideViewer
Hi, all I'm using SlideViewer plugin. is it possible to have autoplay for the gallery with play, pause , next and previous buttons. thanks in advance Rakesh
Next Page