[jQuery] Re: li/img click and window.keydown

2009-07-16 Thread Lideln
up ! (wow, this forum gets 10 new posts per hour) On 15 juil, 21:52, Lideln lid...@gmail.com wrote: Hi everybody ! I have a jqModal window, and I would like to close it using the ESC key. For that purpose, I assign my modal a keydown() event, and if keyCode == 27, I close the modal.

[jQuery] Re: Value adding to drop down

2009-07-16 Thread Jules
The code looks fine to me. Could you post the data value? What is the browser you are using? On Jul 16, 2:58 pm, naz s.na...@gmail.com wrote: hi i m adding some values to drop down by usind j query by this code var programs=[];  programs=data.split('|'); $('#p_course').length = 1;  

[jQuery] Re: Can this plugin be structured better?

2009-07-16 Thread Jules
May be something like this? (function($) { $.fn.editable = function(options) { var defaults = { // default value declarations } var opts = $.extend(defaults, options); return this.each(function() {

[jQuery] Re: Can this plugin be structured better?

2009-07-16 Thread Harvey
I did think of that solution but where would I put functions shared by myImg and myDiv that need access to the $this and tag variables?

[jQuery] if button clicked then do this else do that

2009-07-16 Thread Sanam
Hello, I am trying to do something like this. if a button is clicked call one function $('.saveButton').click(function(){ call one function }); else call another function. But I don't have any idea how to implement if else in a clicked event. Can any one

[jQuery] $(document).unload() does not fire.

2009-07-16 Thread Nitin
Hello, I am extensively using jquery.ajax calls to display data on my web page (which build using partial rendering). In certain navigation flow a user move from one page to another. Before he moves I need to capture information filled in by user in first page(form) and save it in java script

[jQuery] (Validation) How to submit a form without validating

2009-07-16 Thread mnaveed
Hi, I am using the Jquery validationss plugin for my form validations. Now I have a situation where I have two submit buttons in a single form (say button A and button B). For button A, I want to run validations but for button B I don't want to run the validations and submit the form without

[jQuery] Re: URL generated by Ajax

2009-07-16 Thread JD
thanks for this it does the job nicely. Regards JD On Jul 15, 1:59 pm, Peter Edwards p...@bjorsq.net wrote: Hi JD, In your success callback, you have access toajaxoptions through the this keyword, so you can get the fullURLby doing this within the success callback:

[jQuery] Re: URL generated by Ajax

2009-07-16 Thread JD
Yes i might try this as well, thanks On Jul 15, 1:30 pm, Mean Mike mcgra...@gmail.com wrote: if you just need to see what your posting and whaturlits going too why not just view it in httpfox ? On Jul 15, 6:54 am, JD odonovan.jo...@gmail.com wrote: Hi Guys,     This is probably a very

[jQuery] Re: (Validation) How to submit a form without validating

2009-07-16 Thread Jörn Zaefferer
You can add a class=cancel to that button B. The plugin will then skip the validation. Jörn On Thu, Jul 16, 2009 at 9:05 AM, mnaveedmnaveed...@gmail.com wrote: Hi, I am using the Jquery validationss plugin for my form validations. Now I have a situation where I have two submit buttons in a

[jQuery] Re: Chained Autocomplete selects

2009-07-16 Thread Mike Nichols
You can bind it to a custom event. You don't have to use the change event on the parent select. Another option is to manually fire the change event on $.ready(). On Jul 1, 12:01 pm, brotherjames james.montgom...@terex.com wrote: Is there an easy way with theCascadeplugin to tie to events in

[jQuery] Re: Can this plugin be structured better?

2009-07-16 Thread Jules
In the object init, pass this. switch (tag) { case 'DIV': obj = new $.myDiv(); obj.init ($this);break; jQuery.myDiv= function() { this.init = initDiv; this.doSomething = divFunction; this.actualObject; return this; function

[jQuery] Re: 3 Solitaire

2009-07-16 Thread weepy
I suspect that if the type is left off it assumes that it's javascript. nice templating engine On 15 July, 12:02, Brett Ritter swift...@swiftone.org wrote: On Wed, Jul 15, 2009 at 12:42 AM, Karl Swedbergk...@englishrules.com wrote: Interesting view about this from Douglas Crockford: ...

[jQuery] Re: (Validation) How to submit a form without validating

2009-07-16 Thread mnaveed
Thanks Jörn , this is exactly what I need. On Jul 16, 12:57 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: You can add a class=cancel to that button B. The plugin will then skip the validation. Jörn On Thu, Jul 16, 2009 at 9:05 AM, mnaveedmnaveed...@gmail.com wrote: Hi, I am

[jQuery] Re: if button clicked then do this else do that

2009-07-16 Thread ryan.j
you mean you have 2 buttons, both with a click event bound to them via the .saveButton class assignment and you want to know which one you clicked? maybe give them ids and test this.attr(id) ? On Jul 16, 7:46 am, Sanam kcssm2...@gmail.com wrote: Hello,  I am trying to do something like this.

[jQuery] Re: Detecting a redirect response to an Ajax query

2009-07-16 Thread Nick Fitzsimons
2009/7/15 candlerb b.cand...@pobox.com: The login page gets inserted into the DOM, so I know the client must be chasing the redirect and I must be getting either success or notmodified in status. Looking at jQuery source, this comes from xhr.status (in function httpSuccess) which gives

[jQuery] Re: Detecting a redirect response to an Ajax query

2009-07-16 Thread Nick Fitzsimons
2009/7/16 Nick Fitzsimons n...@nickfitz.co.uk: 403 Forbidden [1] Oops, forgot the link :-( [1] http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.4 -- Nick Fitzsimons http://www.nickfitz.co.uk/

[jQuery] jquery ui dialog get element from button

2009-07-16 Thread Carlo Landmeter
Hi, I have probably a simple question which i cannot seem to find the answer to. I have a series of images which i want to use as buttons to trigger a dialog. Inside this dialog i need the ID of the image button (or any other element). But it seems after I load the dialog i cannot alter the

[jQuery] Re: jquery ui dialog get element from button

2009-07-16 Thread Mean Mike
Yes that is correct you need to separate the dialog from the open like this note: I set the autoOpen to false. [code] $(document).ready(function(){ $(.button).click(function(event){ $(#dialog).attr(title, event.target.id); $('#dialog').dialog('open');

[jQuery] Accordion with dynamic loading data

2009-07-16 Thread Todd Stuart
Hello I am needing an accordion with dynamic data loading on each tier. Does anyone have a good example of this. I thought I would ask before I took the dive. Thanks, TS

[jQuery] Re: :contains selector not working in IE

2009-07-16 Thread n0ah
This is apparently a bug in 1.3.2. I have reverted to 1.2.6 until its fixed. On Jul 15, 4:15 pm, n0ah jku...@gmail.com wrote: I have the following code working in FF but not IE: function processSearchResult(xData, status){     var resultHTML = ;     if (status == success) {                

[jQuery] Re: $(document).unload() does not fire.

2009-07-16 Thread jeanluca
did you try $(window).unload( function(){ }) ; ? On Jul 16, 9:04 am, Nitin nitins.shu...@gmail.com wrote: Hello, I am extensively using jquery.ajax calls to display data on my web page (which build using partial rendering). In certain navigation flow a user move from one page to

[jQuery] How to remove default click behavior when double-clicking?

2009-07-16 Thread tripleL
Hi guys, I'm wondering how to remove default click behavior of an a which is the parent of an img, when double clicking on the parent div? What I would like to achieve is that a user can edit the image when double- clicking on it (lightbox) and just follow the link when simply clicking on it.

[jQuery] Tablesorter sort all / sort current.

2009-07-16 Thread mcbi4kh2
I'm using tablesorter to display a list of my search results. I want to be able to sort the viewable results or (depending on whether a checkbox is checked) go back to my app and sort all of the results. For example, say I have 2 columns. columnA and columnB. The user performs a search and

[jQuery] [autocomplete] How to send the partial word typed by user to ajax url?

2009-07-16 Thread SubhashPalsule
Hello Gurus, Is it possible to send the partial word typed by user to ajax url in bassistance.de/jquery-plugins/jquery-plugin-autocomplete/? This will help me to use the sql syntax - select abc from tab_name where abc like %user_word% and limit the results to speed up. Also, I have a select

[jQuery] Problem in the autocomplete functionality in jquery

2009-07-16 Thread nick cubet
Hai, I have one email sending section. the can be fully worked on the basis of the ajax functionality. But I dont need to create the instance of the autocomplete in the $(document).ready(); Because my need is to create the instance of the autocomplete after the completion of the login.My login

[jQuery] General information -To get selected index of SELECT (list) using jQuery

2009-07-16 Thread vikas.khengare
Jquery selectedindex Need to remember that JQuery returns an array of matching elements, even if you use the '#' selector that returns only one elements based on the ID. So to find the selectedIndex of a list: function Method() { var index = $('#myList')[0].selectedIndex; };

[jQuery] jquery unchecking checkbox?

2009-07-16 Thread eimantas
Hi all I'm implementing the standard select all/none functionality for table rows and got this problem that i can't overcome. I use this code snippet to do selection: $(selAll, tableSelector).toggle( function(e) { $('input[type=checkbox]', tableSelector).attr('checked', 'checked');

[jQuery] Treeview plugin for navigation - solution

2009-07-16 Thread Matt B.
I just thought I'd post a solution I came up with that may be helpful to anyone using the treeview plugin for navigation. The problem I ran into was that the cookie persistence was working, but since I was using the tree for navigation to different directories of my site, sometimes the cookie

[jQuery] Re: Firefox 3.5 and same-site requests?

2009-07-16 Thread aldur
I'm getting a lot of the follwoing when sending AJAX request back to the server. onreadystatechange FAILS Error: Permission denied for http:// bpcxp021 to call method UnnamedClass.handleEvent Error: Permission denied for http://bpcxp021 to call method UnnamedClass.handleEvent [xpconnect wrapped

[jQuery] Re: .click doesn't seem to respond to elements added with jQuery

2009-07-16 Thread borgsquad
try to use the .live method with the click listener blcArmadillo wrote: I'm working on creating a little suggestion/autocomplete code for form fields. Here is the code I currently have written: $(document).ready(function() { $(#city).keyup(function() {

[jQuery] Binding Events on a Click

2009-07-16 Thread pinman
Hello, as a complete beginner in the world of jQuery I'm struggling both with the concept and coding of what I am trying to achieve and would appreciate any help you guys can offer :-) I'd like to have a hyperlink on a page, that when clicked reveals some hidden text below the hyperlink AND at

[jQuery] (validate) Display default validation errors, not title

2009-07-16 Thread paulm
Is there a way of telling the validation plug-in to use it's default error messages when the title on the control is set? The default validation error messages are good for most of my cases so I'd rather not have to explicitly set the messages for each and every one of them. For example, if I

[jQuery] how to get the response header of an ajax request

2009-07-16 Thread jeanluca
Hello I want to access the headers of pages I load through ajax. However I don't know how to do this with jQuery First of all, I'm only interested in the headers, not its content, so $('#someID').load(somefile.html) ; is not really what I want. Is there a way I can get the XMLHttpRequest

[jQuery] Autocomplete --- Flickering Problem

2009-07-16 Thread AJ
Whenever I try to type something into the textbox with Autocomplete activated it gives me a flickering effect in IE and Firefox. Please help me solve this problem.

[jQuery] data: $(#contact_form).serialize(),

2009-07-16 Thread robotwink
Hi guys, I need to send the whole form to the server for processing. I have this now, which is not working: $.ajax({ type: POST, url: file.php, data: $(#contact_form).serialize(),

[jQuery] BUG: fadeIn callback gives error!

2009-07-16 Thread Garrett G
hey =) here is my code function fadeInFeaturedGame() { $(#featuredgame).fadeIn(slow, setTimeout(fadeOutFeaturedGame(), 5000)); } function fadeOutFeaturedGame() { $(#featuredgame).fadeOut(slow, fadeInFeaturedTvShow()); } function fadeInFeaturedTvShow() {

[jQuery] help w/ plugin

2009-07-16 Thread intrinsi
I have created a plugin called replaceClass, found at http://plugins.jquery.com/project/replaceClass. However, this works only on hover and I would like to broaden the trigger to include more events. Also, it would be nice to work with id's as well. Any help is appreciated and I am happy to move

[jQuery] Re: jquery ui dialog get element from button

2009-07-16 Thread Charlie
dialog has a setter option for title, it isn't really a title attiribute. The dialog "title is actually a span with class ui-dialog-title-dialog http://jqueryui.com/demos/dialog/#option-title $('.selector').dialog('option', 'title', 'Dialog Title'); either pass the id into the option or you

[jQuery] Re: how to get the response header of an ajax request

2009-07-16 Thread jeanluca
$.ajax({ type: GET, url: my_url, async: false }).getAllResponseHeaders() ; On Jul 16, 11:31 am, jeanluca lca...@gmail.com wrote: Hello I want to access the headers of pages I load through ajax. However I don't know how to do this with jQuery First of all, I'm only interested in the

[jQuery] Re: Accordion with dynamic loading data

2009-07-16 Thread Charlie
not hard to do , just have to use destroy() each time you change it $("#accordion).accordion('destroy'); create new accordion panels //reconstruct accordion $("#accordion).accordion(); Todd Stuart wrote: Hello I am needing an accordion with dynamic data loading on each tier. Does

[jQuery] Re: jquery ui dialog get element from button

2009-07-16 Thread Mean Mike
I didn't realize there was a setter option for that, cool now I can change my code LOL Mean Mike On Jul 16, 9:55 am, Charlie charlie...@gmail.com wrote: dialog has a setter option for title, it isn't really a title attiribute. The dialog title is actually a span with class

[jQuery] Re: ASP.NET Placeholder, JQuery, and live() event

2009-07-16 Thread JoshWithrow
That would probably work except PLACEHOLDER does not translate into HTML tags. Instead, it is an ASP.NET only control that gives PlaceHolder for controls and the such. On Jul 15, 8:21 pm, MorningZ morni...@gmail.com wrote: Don't use asp:PlaceHolder id=Place1 runat=server visible=false

[jQuery] Re: help w/ plugin

2009-07-16 Thread Charlie
not sure if you are aware of this but their is a "switchClass" script in jQueryUI. It also includes a duration so the switch can act as animation. You could analyze code from there to adapt to yours http://jqueryui.com/demos/switchClass/ intrinsi wrote: I have created a plugin called

[jQuery] Re: if button clicked then do this else do that

2009-07-16 Thread Liam Byrne
A click is an EVENT, it either happened or it didn't. If it didn't happen, then the else code that you're talking about would be running constantly and repeatedly. I'm not sure if what you asked for is what you meant, because if a button isn't clicked describes every other moment or event

[jQuery] Re: Binding Events on a Click

2009-07-16 Thread Liam Byrne
Yup, add then click, and use the return value (normally false to stop the HREF triggering) to allow the HREF to continue (i.e. return true in the function) But if you're revealing a password like this, it won't be very secure, because something HIDDEN is still there in the View Source L

[jQuery] Attaching a jQuery event to a dropdown in an ASP.net Repeater?

2009-07-16 Thread Dunc
Hi, I've got an ASP.net repeater which has an unknown number of rows, that I'm passing as a variable into the client-side code. Each repeater item has two dropdowns in it, one of which I need to attach to a jQuery event to create a cascading dropdown. I've put the change(function() { into a

[jQuery] Design pattern for animate()

2009-07-16 Thread littlerobothead
I have a small hud-syle control I've built for a project. I'm using the following code to activate a collapse button on the hud, and to resize the hud so that it can accommodate some wide data. $('li.hud-left-tab').click(function() { // First, if the hud is collapsed,

[jQuery] Re: Binding Events on a Click

2009-07-16 Thread pinman
Thanks for the response Liam - at least I now know it's possible :) Trouble is I wouldn't know where to start coding it - do you have any examples you could point me to please? Most of the ones I have found via Google refer only to the 'text reveal' bit of the code - not about how to actually

[jQuery] Re: Jquery/Javascript Developer - 3 month+ contract - To $50/hr - Custom Jquery Exp

2009-07-16 Thread Cody Lindley
Are you still looking for a person. I might have an ideal lead on a candidate. cody On Wed, Jul 15, 2009 at 2:36 PM, Steve Merrimansmerri...@dpcit.com wrote: We are looking for an advanced Jquery/web developer. Specifically we need someone who has created jquery plugins/custom jquery. This

[jQuery] Re: ASP.NET Placeholder, JQuery, and live() event

2009-07-16 Thread MorningZ
yeah, my bad, i skipped over that part... i should have completed by saying asp:PlaceHolder id=Place1 runat=server visible=false to div id=Place1 runat=server style=display: none; gives you a server side control (now it's an HtmlGenericControl instead) to add other controls to, plus you

[jQuery] Re: cluetip onMouseOut Stick problem

2009-07-16 Thread Randy
Try hovering over the link and then move the mouse to the left (without going over the actual cluetip). The cluetip stays active. On Jul 10, 7:43 pm, Karl Swedberg k...@englishrules.com wrote: you're moving over and then to the right of the tooltip? strange. it's   working fine for me. which

[jQuery] Re: (validate) Display default validation errors, not title

2009-07-16 Thread Jörn Zaefferer
Set the option ignoreTitle: true. I'd rather remove that feature completely, but due to backwards compability, you currently have to opt-out... Jörn On Thu, Jul 16, 2009 at 3:36 AM, paulmpa...@rcs-solutions.com wrote: Is there a way of telling the validation plug-in to use it's default

[jQuery] Re: Design pattern for animate()

2009-07-16 Thread Liam Potter
use width() and offset in an if statement var pageWidth = $(document).width(); var hudOffset = hud.offset(); if ( pageWidth - hudOffset.left 360 ) { hud.animate({left:-360}, 90); } else { return false; } I'm guessing you'd need something like that. littlerobothead wrote: I have a

[jQuery] Re: Design pattern for animate()

2009-07-16 Thread littlerobothead
Thanks, that worked really well. I was unaware of the offset function; good stuff! On Jul 16, 11:38 am, Liam Potter radioactiv...@gmail.com wrote: use width() and offset in an if statement var pageWidth = $(document).width(); var hudOffset = hud.offset(); if ( pageWidth - hudOffset.left

[jQuery] Re: Attaching a jQuery event to a dropdown in an ASP.net Repeater?

2009-07-16 Thread Cesar Sanz
Hi.. When working with ASP.NET controllers I always see the hltml code generated because I can figure out where to inject my jquery code. - Original Message - From: Dunc duncan.we...@gmail.com To: jQuery (English) jquery-en@googlegroups.com Sent: Thursday, July 16, 2009 8:28 AM

[jQuery] Re: Treeview plugin for navigation - solution

2009-07-16 Thread Matt B.
Sorry for the repeat posts, but the link above was incorrect (I'm at a different computer right now). This is the revision I used: http://dev.jquery.com/browser/trunk/plugins/treeview/jquery.treeview.js?rev=4685 ...although there appear to be more recent revisions...I'm not sure which is best.

[jQuery] Re: Binding Events on a Click

2009-07-16 Thread Liam Byrne
Option 1 : set the target of the link to _blank, bind the text reveal, and return true so that the natural href triggers Option 2 : bind the text reveal, adding a window.open($(this).attr(href)) to the code L pinman wrote: Thanks for the response Liam - at least I now know it's possible :)

[jQuery] Re: Get following rows in a table until id not match certain pattern

2009-07-16 Thread Charlie
if you work with ID's you won't have choice but to use filters, however if you can associate a class matching system when you construct the ID's would simplify filtering tr id="top11_21"tda href="" id="top11_21click" class="class11_21"click here/a/ td...rest of row data/td/tr tr

[jQuery] Re: slideUp(), slideDown() not working in IE 6, 7 on LI elements

2009-07-16 Thread Bill
Is the best way forward to just rewrite the HTML so that it uses DIV elements instead of UL and LIs? There's got to be a better way... On Jul 15, 2:38 pm, Bill bllfr...@gmail.com wrote: Leonardo, thanks very much for your reply. I've updated my code, so the third wrapper contains the

[jQuery] Re: ASP.NET Placeholder, JQuery, and live() event

2009-07-16 Thread JoshWithrow
AAaaahhh yes okay. Now I see where you're going. Thanks! On Jul 16, 10:58 am, MorningZ morni...@gmail.com wrote: yeah, my bad, i skipped over that part... i should have completed by saying asp:PlaceHolder id=Place1 runat=server visible=false to div id=Place1 runat=server

[jQuery] Re: jquery ui dialog get element from button

2009-07-16 Thread Carlo Landmeter
Thanks for your replies. If I look at your first option I wouldn't know how i could know the correct ID before i click the button but i have to initiate the dialog open after the normal dialog function. You second option seems the best way for me, after the dialog is created i can modify its

[jQuery] Re: how to get the response header of an ajax request

2009-07-16 Thread James
Using $.ajax(), when you set a 'complete' callback function, the XHR object should be provided for you, which you're able to use to get the response headers. On Jul 16, 3:56 am, jeanluca lca...@gmail.com wrote: $.ajax({   type: GET,   url: my_url,   async: false }).getAllResponseHeaders()

[jQuery] Re: BUG: fadeIn callback gives error!

2009-07-16 Thread James
The code like: $(#featuredgame).fadeIn(slow, setTimeout(fadeOutFeaturedGame(), 5000)); Should be: $(#featuredgame).fadeIn(slow, function() { setTimeout(fadeOutFeaturedGame, 5000); }); The code like: $(#featuredgame).fadeOut(slow, fadeInFeaturedTvShow()); Should be:

[jQuery] Re: data: $(#contact_form).serialize(),

2009-07-16 Thread James
Could you define not working? Are there any error messages? Is $(#contact_form).serialize() not giving the right values? Is the AJAX request not being sent? Is there no response coming back from the AJAX request? Try adding an 'error' callback also to see if it gets called. On Jul 15, 6:24 pm,

[jQuery] Re: Binding Events on a Click

2009-07-16 Thread James
Here's an example (untested): a href=http://link1.com; class=linkLink 1/a div style=display:noneHidden Text 1/div a href=http://link2.com; class=linkLink 2/a div style=display:noneHidden Text 2/div a href=http://link3.com; class=linkLink 3/a div style=display:noneHidden Text 3/div $(function()

[jQuery] Get the HTML of the current node plus its Inner HTML

2009-07-16 Thread bittermonkey
Hi, I need to get all the TABLE HTML code within the body tag for a content-generating application. I'm trying to use the html() method, but it only gets the inner HTML. I also tried clone(), but does the same thing. Or maybe I'm using it wrong. Here's an example to clarify what I wanted to

[jQuery] Re: Get following rows in a table until id not match certain pattern

2009-07-16 Thread FrenchiInLA
If i understand you correctly you can associate a click event to the table, then get the id of the TR clicked, then filter by nextAll('tr[id^=act+id - top].toggle(); something like: $('yourtable').click(function(e){ var id = $(e.target).closest('tr').attr('id'); // Then filter nextAll tr with

[jQuery] Re: Attaching a jQuery event to a dropdown in an ASP.net Repeater?

2009-07-16 Thread FrenchiInLA
if your DDL has ddlSkillCategoryID as id you can select them with following selectors: $('select[id$=ddlSkillCategoryID]').change(function(){ // do your stuffs }) Dunc-4 wrote: Hi, I've got an ASP.net repeater which has an unknown number of rows, that I'm passing as a variable into

[jQuery] Re: cluetip onMouseOut Stick problem

2009-07-16 Thread Karl Swedberg
yes, that's because the cluetip is sticky. The mouseOutClose option works for mousing out of the cluetip, so you basically have two choices there -- click the close link or mouse out of the cluetip. There isn't currently an option for hiding the cluetip when you mouse out of the link

[jQuery] jQuery Conference 2009 Registration is Now Open

2009-07-16 Thread Rey Bango
We're happy to announce that registration for the jQuery Conference 2009 is now open. The yearly event consistently sells out quickly due to the quality of information being presented and speakers in attendance. This year should be no different. The two day conference (Yes it's now 2

[jQuery] Fading background images in and out

2009-07-16 Thread osu
Hi, Just wondering what the best way to cycle (fade in and out) background images is? I´ve got to create a homepage with a navigation and nothing else but background images fading in and out behind it. I was going to use the Cycle plugin for Jquery, but it means I need to create a div with

[jQuery] Re: help w/ plugin

2009-07-16 Thread Robert
Thanks, I wasn't aware. It seems like it would be good to expand this script, especially to allow for different targets. That is, unless there is already a way to do that. I'll look into it. On Jul 16, 7:11 am, Charlie charlie...@gmail.com wrote: not sure if you are aware of this but their is a

[jQuery] Re: Get the HTML of the current node plus its Inner HTML

2009-07-16 Thread Theodore Ni
I was going to work on a proof of concept, but then I had the idea to see if anyone else has already implemented this. Sure enough, Brandon Aaron has: http://brandonaaron.net/blog/2007/06/17/jquery-snippets-outerhtml http://brandonaaron.net/blog/2007/06/17/jquery-snippets-outerhtml Ted On Thu,

[jQuery] Re: Fading background images in and out

2009-07-16 Thread Theodore Ni
Using z-index seems like the way to go. If you show us the code that didn't work, maybe we can help you figure out why it didn't. Ted On Thu, Jul 16, 2009 at 4:17 PM, osu onesiz...@googlemail.com wrote: Hi, Just wondering what the best way to cycle (fade in and out) background images is?

[jQuery] Re: Doing something before the get request

2009-07-16 Thread Fabio Milheiro
It's done! You were very helpful. Thank you James On Jul 15, 7:06 pm, James james.gp@gmail.com wrote: You can find the information on jQuery's documentation website. Here's the AJAX page:http://docs.jquery.com/Ajax Click on the jQuery.ajax(options) link and then the options tab to view

[jQuery] Re: Get the HTML of the current node plus its Inner HTML

2009-07-16 Thread FrenchiInLA
each time that you need javascript function you can use [0] or 'this' in your case you can get it by if(this.nodeName.toLowerCase() == table) { contentHtml += this.outerHTML(); } or if have already selected your table, $table = $('selector') use $table[0].outerHTML bittermonkey wrote:

[jQuery] Create a Select Box

2009-07-16 Thread tdktan...@gmail.com
So ive got a fun page where I need to create the dropdowns based on an array I pass into the html. (coming form php) However I cant figure out how to actually create a select box... I can however populate a select box that exists... Before Jquery does its stuff ul id=filter/ul So heres what I

[jQuery] Re: Disabling Button in jQuery HTML Form Plugin

2009-07-16 Thread icuucme
still looking for help with this...thanks On Jul 8, 1:36 pm, icuucme deron.tava...@gmail.com wrote: I am currently using this pluginhttp://www.malsup.com/jquery/form/#code-samples (HTML) to display a div with content, depending on what is entered. Is there a way to disable the submit

[jQuery] Re: Disabling Button in jQuery HTML Form Plugin

2009-07-16 Thread Cesar Sanz
you can check the message in the onclick event... - Original Message - From: icuucme deron.tava...@gmail.com To: jQuery (English) jquery-en@googlegroups.com Sent: Thursday, July 16, 2009 4:37 PM Subject: [jQuery] Re: Disabling Button in jQuery HTML Form Plugin still looking for

[jQuery] Re: Create a Select Box

2009-07-16 Thread FrenchiInLA
I don't know the structure of your data coming from your server, but generally speaking you should do something like : var $sel = $('select name=select_1 class=filter/select.'); now loop from your array and populate your select $sel.append($('option value='+ value + '' + text +'/option');

[jQuery] jQuery UI Tabs and Ajax

2009-07-16 Thread havanna
Hi together, I give the question in UI Group but nobody answer there: I'm really new to jQuery and UI. What I'm trying is to build a view in CakePHP with the jQuery UI Tabs. The first part, integration the informations from my Cake controller in Tab 1 to 4 and is working. In Tab 5 and Tab 6 I

[jQuery] show dynamic changes when a refresh occurs

2009-07-16 Thread Terry
Hi, I have a moderate level of experience with javascript, and a good oo background. So, when I tried jquery I'm really liking it. I have a requirement to add input fields dynamically to the form since I don't know ahead of time how many entries the user may request. I was able to implement this

[jQuery] Re: li/img click and window.keydown

2009-07-16 Thread Lideln
up On 16 juil, 08:10, Lideln lid...@gmail.com wrote: up ! (wow, this forum gets 10 new posts per hour) On 15 juil, 21:52, Lideln lid...@gmail.com wrote: Hi everybody ! I have a jqModal window, and I would like to close it using the ESC key. For that purpose, I assign my modal a

[jQuery] tablesorter not sorting numbers correctly

2009-07-16 Thread Ian Stokes-Rees
tablesorter isn't sorting numbers correctly. I have the latest jQuery (1.3.2) and tablesorter (2.0.3). from http://abitibi.sbgrid.org/: script type=text/javascript src=/js/jquery-latest.min.js/ script script type=text/javascript src=/js/ jquery.tablesorter.min.js/script I am turning

[jQuery] Jquery UI Tabs and Ajax

2009-07-16 Thread havanna
Hi together, I tried it in the group Jquery UI - but nobody answer there?! I'm really new to jQuery and UI. What I'm trying is to build a view in CakePHP with the jQuery UI Tabs. The first part, integration the informations from my Cake controller in Tab 1 to 4 is working. In Tab 5 and Tab 6 I

[jQuery] Can't iterate through SPANs and execute Ajax GET

2009-07-16 Thread ajaxer
As soon as the page loads, I would like to iterate through several span tags on the page and update their innerHTML to be the response from the AJAX get call. The line I have commented out, alert(Data Loaded: + data);, works perfectly, but creates a bunch of alert boxes (which I don't want).

[jQuery] Recoving failure on request submission

2009-07-16 Thread Ícaro Dourado
Hi everyone, First, I have to say the jquery form is just perfect and fills very well a common issue for those who need to work with ajax. I would like to know, or even sugest a new feature if it is the case: how can we get, on client side and after an 'ajaxSubmit' call, the error code produced

[jQuery] addclass() only works with the first of the matched divs

2009-07-16 Thread Alexandre
Hi, I'm having an annoying issue with addClass() I'm trying to find all divs with id name '#moldura_slides' and add the class '.horizontal' to each one of them. The problem is that only the first div matched gets the class. The others are just ignored and don't get it.

[jQuery] Newbie question

2009-07-16 Thread Greg Evans
Hello, I have just discovered jQuery and it looks cool. I used the jQuery UI builder at ui.jquery.com to build the UI and it looks and works great :) Unfortunately I do not know enough about javascript to answer my own question, so I am deferring to you :) I would like to have a tab with

[jQuery] Help for a noob: AJAX, Autocompletes and JSON

2009-07-16 Thread Phil
Hi, Im new to ajax and serverside scripting (forgive me for the rediculous questions i will ask i'm only 15). I want to create a page where there is an auto-comples plugin that will pull the values from a JSON database(?) Once the user clicks on the value it will populate a container div with

[jQuery] including JQuery JS changes font size in table cells

2009-07-16 Thread Brian
Greetings, I have a strange situation. I've just added an include of the JQuery JavaScript file and the font size of text in some table cells has increased. I've also noticed a text field displaying shorter (less height) but with the same font size, so all you see it the tops of the characters.

[jQuery] jQuery, JSON and AJAX (help please)

2009-07-16 Thread Phil
Hi, Im new to ajax and serverside scripting (forgive me for the rediculous questions i will ask i'm only 15). I want to create a page where there is an auto-comples plugin that will pull the values from a JSON database(?) Once the user clicks on the value it will populate a container div with

[jQuery] Re: addclass() only works with the first of the matched divs

2009-07-16 Thread Charlie
pretty simple problem, all ID's have to be unique(w3c standards), change ID's to class will work fine Alexandre wrote: Hi, I'm having an annoying issue with addClass() I'm trying to find all divs with id name '#moldura_slides' and add the class '.horizontal' to each one of them. The

[jQuery] Re: jquery ui dialog get element from button

2009-07-16 Thread Charlie
sure, just add $("#dialog").load("url") to click function you have Carlo Landmeter wrote: Thanks for your replies. If I look at your first option I wouldn't know how i could know the correct ID before i click the button but i have to initiate the dialog open after the normal dialog

[jQuery] Re: addclass() only works with the first of the matched divs

2009-07-16 Thread Cesar Sanz
Id must to be unique. So, jQuery just find one element with the specified Id, try to make id uniques - Original Message - From: Alexandre alexandre...@gmail.com To: jQuery (English) jquery-en@googlegroups.com Sent: Thursday, July 16, 2009 3:40 PM Subject: [jQuery] addclass() only

[jQuery] Re: Disabling Button in jQuery HTML Form Plugin

2009-07-16 Thread Theodore Ni
In addition to trying Cesar's suggestion, you should give us some more code details and context. You can do this sort of check on a number of events, including onclick and onsubmit, or whenever your div is updated. Ted On Thu, Jul 16, 2009 at 6:41 PM, Cesar Sanz the.email.tr...@gmail.comwrote:

[jQuery] Re: tablesorter not sorting numbers correctly

2009-07-16 Thread aquaone
Last I checked *sym link* wasn't a number. ;-) aquaone On Thu, Jul 16, 2009 at 09:51, Ian Stokes-Rees ijsto...@alumni.uwaterloo.ca wrote: tablesorter isn't sorting numbers correctly. I have the latest jQuery (1.3.2) and tablesorter (2.0.3). from http://abitibi.sbgrid.org/: script

[jQuery] Re: show dynamic changes when a refresh occurs

2009-07-16 Thread James
The data is still there since the browser does a cache of the form info, but dynamically created elements do not get cached in the same way, unfortunately. I haven't tried this before, but one thing you can try is to have a hidden input in your form, and the purpose of this is to store the

[jQuery] Re: Recoving failure on request submission

2009-07-16 Thread James
I believe that jQuery Form extends jQuery's native $.ajax method, so you could use the options for $.ajax also. In $.ajax options, there's an 'error' callback for non-success responses. Additionally, there's a 'complete' callback which also passes a reference to the XMLHTTPRequest object (the

  1   2   >