[jQuery] Interface Elements problem!
jQuery: 1.1.2 Interface Elements: 1.2 I'm new to jQuery and I'm using the slide FX effect from Interface Elements. I'm currently using the SlideOutLeft and SlideInLeft event. And for some reason when I use a callback parameter, which should get called after the effect has finished, according to the documentation from the Interface Elements web site (http://interface.eyecon.ro/docs/ fx#). But for some reason the function is being called at the start of the effect. Also there is a third parmeter for
[jQuery] AutoComplete and JSon not working as expected. Please, help me out.
Hello, I am using JQuery AutoComplete with JSon. I created a function on my server code which return the data. However, when I start writing "J" in my Input I get the following: [{"TagID":"883b197e-0cb3-4528-8403-0877d742bf47","Name":"John"}, {"TagID":"017b253e-596b-4328-85f5-fd97a783759c","Name":"Jane"}] How to get only the names instead of this strange format? Am I a missing something here? Thanks, Miguel
[jQuery] UI-Tabs: How to get the text of selected tab?
Hi, Is there a way to get the text of a selected tab? and can i get that from select event? for example $('#example').tabs({ select: function(ui) { // return the text of the tab you just clicked } }); please help thanks zm
[jQuery] [Validate]
Hi all, In the API documentation for Validation plugin, it is written that valid() method can validate "selected elements". Can someone help me for the usage of this method? Can it be done with jQuery selectors, like: $('elements').valid() ? Thank you.
[jQuery] Superfish DropDownMenu
hi, i would like to realize something like that http://css.alsacreations.com/xmedia/exemples/accordeon/menu_demo.html except that it have to slides up and down on mouse over i'm using jquery and superfish to do so, i tried to remove the position:absolute and position:relative from css, it look likes this http://www.sitefacile.fr/test.html i think this is a css issue however i'm not sure about that thanks
[jQuery] Multiple fields validation [Validate]
Hi all. I have a complex situation. I have lots of fields and 3 main parts in a form. I have to validate all parts seperate from other parts and have to display error messages in specific parts. Below is a simple visual representation of my form: ------ Main Form --- Part 1 (Div) - Controls - Validation error list for part1 --- Part 2 (Div) - Controls - Validation error list for part2 --- Part 3 (Div) - Controls - Validation error list for part3 Is it possible to do this kind of validation with jquery.validate
[jQuery] Gdata How to Send Put Request for Multiple Events (in atom feed format)
How do you send an HTTP Put Request that delivers a gdata atom feed ( ex = feed.xml) to Google Calendar? I can't find any info about it here: http://code.google.com/apis/calendar/developers_guide_js.html#Interactive_Samples
[jQuery] My first jQuery plugin
Hi folks, I'm very new to jQuery and am playing around with what is possible. I found myself wanting a findParent function and couldn't spot one ready made. I'd love it if people could give me feedback on my implementation. I'm sure there's plenty I could do better. If this function also exists I'd like to know where it is too. =) /** * return the first parent that matches the selector. Optionally include the src element in the search */ $.fn.findParent = function() { var _this, _selector, _includeSelf,
[jQuery] Two versions of jQuery for two plug-ins!
Dear All, I am no more a developer, so pardon if my request sound stupid! I saw the following 2 plug-ins of jQuery interesting for our application: 1) FastFind Menu, it requires jQuery1.0 2) Rounded Corners, it requires jQuery 1.2.3 Basically, FastFind Menu doesn't work if I use jQuery 1.2.3! My question is whether it is possible to use both versions and make both of the above plug-ins working? It'd still be great if there is any other better solution. Thanks all. Regards, Jagadeesh
[jQuery] Override XMLHTTPRequest
Is there a way to override the XMLHTTPRequest object used in jQuery’s AJAX API? I would like to use a custom implementation of XMLHTTPRequest. Thanks!
[jQuery] [jCarousel] Error on Resizing when Carousel is Hidden
Hi, When I hide the div a jcarousel is on and resize the browser I get this error: jCarousel: No width/height set for items. This will cause an infinite loop. Aborting... As the jCarousel is in the page flow and all the items are populated, I don't understand why this error comes up. Can anyone help me? juro
[jQuery] mixing validate, and ajaxSubmit
The behaviour I have is that the form is correctly validated, but submits $('#editjobsform').submit(function() {dosavejob(); return false; }); //other stuff here $('#editjobsform').validate( { rules: {blah:"blah" }, messages: { blah: "blah"} } ); //other stuff here function dosavejob() { $('#editjobsform').ajaxSubmit({ // editjobsform action="/srv/ coms2.asmx/getJobs" beforeSubmit: ShowBusy, success:
[jQuery] Difference between two code fragments
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><title>[jQuery] Difference between two code fragments</title> <META http-equiv=Content-Type content="text/html; charset=windows-1251"> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css"><!-- body { margin: 5px 5px 5px 5px; background-color: #ffffff; } /* ========== Text Styles ========== */ hr { color: #000000} body, table /* Normal text */ { font-size: 9pt; font-family: 'Courier New'; font-style:
[jQuery] Patch to make ajaxStop event fire on cross-domain/subdomain use of getScript/ajax
Hey, I couldn't get the ajaxStop global event to fire on errors (connection dropped etc.) when doing cross-domain/subdomain calls to getScript/ajax without doing this: --- old-symbolicweb/javascript/jquery-1.2.6.js 2008-07-18 13:38:02.000000000 +0200 +++ new-symbolicweb/javascript/jquery-1.2.6.js 2008-07-18 13:38:02.000000000 +0200 @@ -2668,7 +2668,7 @@ var done = false; // Attach handlers for all browsers - script.onload = script.onreadystatechange
How Do I report an jquery error?
Hi I noticed if I do something like this $("#selectAnyElment").html(0); The zero will not be represented on the page. In order to get it work I got to convert it to a string(what is a big pain in the ass because I am usually doing some count down thing and that sort of screws up my countdown thing) So to me this is a bug and I am wondering where do I report it?
[jQuery] What's the syntax for this.find('input','textarea').each...?
I've written a sensible extension to insert and remove titles in input fields to save space, i.e. Email [______] Name [_______] is just [Email____] [Name____] example: http://www.popnoodles.com/ - click on Contact on the left menu, once it loads click the fields and you can see the extension working. JS- http://www.popnoodles.com/_src/popnoodles2008.js But what I want to do, instead of doing two finds and functioning off the workings is find both ('input') and ('textarea') in one find. I guessed
[jQuery] Accordion navigation menu
Hi, I'm very new to javascript and even newer to jQuery. I recently downloaded a jQuery plugin called accordion which was a nav menu for a site i am currently building. I got it working just fine, however, it didn't allow me to customize as much as I would have liked. So I set about building my own navigation menu using the jQuery functions. I have it working as I would like, minus one feature. I need the visible submenu's to stay visible when loading another page. The plugin I used had an option
[jQuery] jCarousel - How to do width:100%?
I'm having problems getting jCarousel looking good with width:100%.. Easy to replicate, go to: http://sorgalla.com/projects/jcarousel/examples/special_flexible.html and change to .jcarousel-skin-tango .jcarousel-container-horizontal {width:100%;} (85% by default) with FireBug.. Running FF3: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/ 2008071222 Firefox/3.0.1 Anyone who have a good solution?
[jQuery] Combination selector
Hi all, I want to know if I can do a combination of selector? If want to select both class and id, how can I do that? In my css I have this (.openBloc #blc2 { ... } ) but when I wrote this in javascript $(' div.openBloc > #blc2 ') it's not working in IE6. I need to select both because I have the background changing when I change the class .openBloc into .closeBloc
[jQuery] jQuery.find() in XMLHttpRequest.responseText?
Hi I'm trying to find paragraphs in the XMLHttpRequest.responseText but always get typeof object instead of a string. The responseText contains a full HTML Document: <code> var myText = new jQuery('<span>' + jQuery(XMLHttpRequest.responseText).find('p') + '</span>'); jQuery('#myID').text(myText); </code> Any help please?
[jQuery] $.get(0) is causing trouble
$all = $('.listing > .myDivs'); $all.get(0).css('color','#339900'); why would this throw an error "function css does not exist" ?? I tried this too with no luck: $('.listing > .myDivs').get(0).css('color','#339900');
[jQuery] hiding UI dialogs on startup
Hi all, I'm using JQuery UI to implement dialogs for my application. However on start up I can momentarily see the div's that later become dialogs after $("#example").dialog(); has been called. Is there a way to hide those div's in advance of $ ("#example").dialog(); being called? Thanks, Jeroen
Help with very simple ajax and jquery
Ok, bear with me cause Im new to all of this.... I basically want to be able to use tablesorter in tables that are being brought up through ajax.... heres a very simple code example of what I need to get working so I can apply it into my project. <html> <head> <script src=jquery.js></script> <script src=tablesorter/jquery.tablesorter.js></script> <script type=text/javascript> $(document).ready(function() { $("#txthint").load("tabla.html"); $('table').tablesorter();
[jQuery] Date Picker in IE6 has "false" box
Hi, Running a standard off-the-shelf date picker using Jquery UI using the following code: $('#live_from').datepicker({ dateFormat: 'yy-mm-dd', showOn: 'both', buttonImage: 'includes/images/app/calendar.png', buttonImageOnly: true }); $('#live_to').datepicker({ dateFormat: 'yy-mm-dd', showOn: 'both', buttonImage: 'includes/images/app/calendar.png', buttonImageOnly: true }); The problem we have is that in IE6 (testing in IE7 it looks fine), there is a box below the calendar with the word false in
[jQuery] Page zooming
Hi all. I got one I think ridiculous question but if anyone knows, I'm sure that someone here will know for it. :D Is it possible to do web page zooming ( - and + ( - will be enough :D :D ) ) with jQuery? I know that I can do it on way so that complete web page layout is in %. But if something is in pixels and bigger than preview box than as expected ??? over my head :D I tried to search for it on Google and here but or I'm blind or that feature doesn't exists at all. Thanks for answers and sorry
[jQuery] Help with XML parsing/looping
Hi all, I realize this is a gigantic newbie question, but I am totally stuck and I want to do this the right way... figured I'd go to the experts. I'm trying to write a section of code in jquery that will read my XML sheet and then produce a set of unordered lists with individual list items in HTML. I have it working, but the problem is that my code is finding every single instance of certain tags and then adding them to my lists. So ultimately, every list that this code generates is perfectly formatted,
[jQuery] yet again XML+jQuery+IE7
The following example (from the jquery-doc-site) works fine with firefox. however, in IE7 $("element_name", xml).text() returns empty-string anyone bypassed this issue in the past? $(document).ready(function() { // generate markup $("#rating").append("Please rate: "); for ( var i = 1; i <= 5; i++ ) $("#rating").append("<a href='#'>" + i + "</a> "); // add markup to container and apply click handlers to anchors $("#rating a").click(function(e){ // stop normal link click e.preventDefault(); // send
array assigment
hi Please take a look at this code: var ar = []; jQuery.each(form_array, function(i,n){ ar[i] = n; }); callback_vars['form_array'] = ar; Can I do this assignment without using the extra array ? like this: jQuery.each(form_array, function(i,n){ callback_vars['form_array'][i] = n; }); Obviously the solution above doesn't work, but the question still remains. So, can I do this array asignment without using an extra array?
[jQuery] Need Demo Help
I'm trying to learn jquery and the first sample I copied does not run - I get an err in my FF3 console that says $ is not defined. Here is my code: <html> <head> <script type="text/javascript" src="../js/jquery/jquery.js"></ script> <script type="text/javascript"> $(document).ready(function(){ $(".btn-slide").click(function(){ $("#panel").slideToggle("slow"); $(this).toggleClass("active"); }); }); </script> </head> <body> </body> </html>
[jQuery] new GridTable-Plugin
I just put a new GridTable-Plugin online: http://plugins.jquery.com/project/GridTable Any comment appreciated, Kai
[jQuery] Copy text onkeyup locking up browser
I am having a strange problem, where a function is freezing the browser. I have an iframe, which has an input field, and I want the text from this, to update some inner html in its parent frame. Have I don't something totally wrong here? //Add update name function $("#calendar_event_718").keyup(function () { content = $("#calendar_event_718").val(); $("#inner", top.document).html() = content; });
[jQuery] Is there a plugin to zoom in/out an image
Just like those on many on-line shopping stores, is there a jQuery plugin that we can use to zoom in/out an image? :-) or which approach should I take to make such applications? many thanks.. lihao
[jQuery] traversing list using keyboard
Hello... this has to be something poeple have done before. I managed to only do about half of what I intended to - I'm stuck in the middle (seee //comment). I got a list of stuff and want to be able to select items using the arrow keys. <ol> <li class="item">blah</li> ...etc... I've bound key events to the OL but am stuck getting a clean and simple solution for doing the following: 1. check if any Li has class 'active' 2. if no such luck, set the first Li 's class to active. 3. if I do find a Li
[jQuery] positioning [tooltip]
I am using the excellent Tooltip plugin from http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/ and had a quick question on the settings. The top-left corner of the tooltip tracks the mouse pointer, and positioning is according to the top-left corner. I'd like to use the top-right corner instead, so the right edge of the tooltip is adjacent to the pointer, not the left edge. Any ideas on how to do this? In some cases I might also like to use the bottom-left corner. Thanks!
[jQuery] Form plugin, add loading gif
I am trying to add a loading gif to the form plugin, but each time I do, it breaks. I am using: $(document).ready(function() { //Create function for ajax asset builder $('#page_asset_builder_28031').ajaxForm({ iframe: true, success: function(html) { $("#loading").show(); $("#ajaxResult").html($(html).find("#ajaxResponse")); $("#loading").hide(); }}); }); I need to get the $("#loading").hide(); statement moved up further in the script, so that it gets activated right when the submit button is clicked,
pass string on $(document).ready
Hi there. When i used the good old onload function of the body i could easilly pass a php generated string value to the onload function, lets say the username of the currently loged user. How can i do the same with jquery and $(document).ready() function? The only way that i can think of is to set up a hidden input field of via session or cookie...But there must be a better way
[jQuery] $.post and single quotes
I didn't notice until now that my quotes are already being escaped somewhere between after I call $.post() and when my php page picks them up. I have been using mysql_real_escape_string for the way into the DB and strip_slashes for the way out. I don't really want to strip_slashes before I post them to the database, because there could be some slashes intentionally added by the user. But I can't mysql_real_escape_string them with the slash either. Help?
[jQuery] Superfish, it rolls... quiet complete
Hi, I'm trying to have some shadows on this amazing menu plugin. I did a little skinning but nothing too big. And I don't have any shadows for example... also many other features seams to be disabled, but are not in fact. Well, I ask a little help about this. The page with the menu : http://zap-meeting.com/dev Thanks a lot !
how to remove divider (as <A> background img) in UL LI
Hi there, I am really new in jQuery. I need help with this problem: I have horizontal CSS UL LI menu like : <div id="mainSubNav" class="overout"> <ul> <li><a href="#"><span>Flights</span></a> <ul> <li><a href="#">Submenu level A</a></li> <li><a href="#">Submenu level B</a></li> <li><a href="#">Submenu level C</a></li> <li><a class="bgNone" href="#">Submenu level D</a></li> </ul> </li> <li"><a href="#"><span>Something</span></a> <ul> <li><a href="#">Submenu level A</a></li>
[jQuery] [autocomplete]
Hi I'm new to jQuery and to this list. This is a question I sent to another web developer's list yesterday, after spending many hours trying and failing to get the Autocomplete (http://docs.jquery.com/ Plugins/Autocomplete) jQuery plugin to do what I wanted: ~~~~~~~~~ Ok, I give in - I've been staring at a screen for 5 hours now trying to find a good autocomplete function/plugin/module/wossname for a database entry form. A decent candidate is the jQuery Autocomplete plugin which I've sort of got
Next Page