[jQuery] Re: handling of click event?

2009-08-21 Thread Audrey A Lee
Yep, I read http://docs.jquery.com/Attributes It did not help. $(this).attr('href') is easy to understand. What I did not understand was that "this" had evaporated. Once I put "this" in my click() call and then picked it up in tellme (object), I could see "this" in my debugger and everything f

[jQuery] Re: handling of click event?

2009-08-21 Thread Audrey A Lee
This was a big help. Thanks! -Audrey On Aug 21, 3:57 pm, James wrote: > You'd have to pass the reference of the clicked object to tellme(), > otherwise it has no access to anything from where it's called. > > $("a.someLinks").click(function(event){ >     tellme(this); > > }); > > function tel

[jQuery] Re: Plugin to let the user draw rectangles

2009-08-21 Thread Jack Killpatrick
That's realy cool, Richard. Thanks for sharing it. :-) - Jack Richard D. Worth wrote: Here's a slightly improved version. Thanks @cioa demo: http://jsbin.com/azare code: http://jsbin.com/azare/edit - Richard On Fri, Aug 21, 2009 at 3:59 PM, Richard D. Worth

[jQuery] Remove specific options from a select

2009-08-21 Thread Todd Chambery
Hi all, I'm having a devil of a time removing options from a select. Here's the scenario: I have one that when an item is chosen, that item will be removed from all the other s containing the same data: Axe, Orc double Axe, throwing Battleaxe ... Axe

[jQuery] Re: event handlers that run after the browser's default action

2009-08-21 Thread Tom Worster
i was interested in using the value of a text input immediately after the browser has finished handling a keyboard event. On 8/21/09 10:14 AM, "ak732" wrote: > > Not sure that there's a more deterministic approach - if so, it's > beyond my limited Javascript knowledge. > > Specifically what

[jQuery] Help with show hide function

2009-08-21 Thread Jacques Choquette - WhistlerGraphicDesign.com
HI Everyone I have the following jquery script $(document).ready(function() { // hides the all tabs as soon as the DOM is ready // (a little sooner than page load) $('#homeTab').hide(); $('#whoTab').hide(); $('#whatTab').hide(); $('#whereTab').hide(); $('#workTab').hide(); // dis

[jQuery] Re: handling of click event?

2009-08-21 Thread James
Also, if tellme() is the only thing you're calling in the click callback, and you don't need to pass any parameters to tellme(), you could also do it like this: $("a.someLinks").click(tellme); function tellme() { alert(this.href); } On Aug 21, 12:53 pm, Audrey A Lee wrote: > jQuery People

[jQuery] Re: handling of click event?

2009-08-21 Thread Charlie Griefer
$(this).attr('href') http://docs.jquery.com/Attributes On Fri, Aug 21, 2009 at 3:53 PM, Audrey A Lee wrote: > > jQuery People, > > Suppose I have this syntax: > > $("a.someLinks").click(function(event){tellme();}); > > I want tellme() to handle the value of href of the clicked link. > > What syn

[jQuery] Re: How to Clean Up Asynch Code

2009-08-21 Thread finneycanhelp
Thank you. I appreciate the insight. Using an event driven / call back approach does seem like the best way to go. On Aug 16, 1:58 pm, Ricardo wrote: > Yes you should. > > cheers, > ricardo > > On Aug 15, 10:46 pm, finneycanhelp wrote: > > > > > // what's a clean way to populate a list asynchro

[jQuery] handling of click event?

2009-08-21 Thread Audrey A Lee
jQuery People, Suppose I have this syntax: $("a.someLinks").click(function(event){tellme();}); I want tellme() to handle the value of href of the clicked link. What syntax do I put in tellme()? I got this far: function tellme() { // does not work: alert($(this)[0].href); // does not work

[jQuery] Custom events in jQuery open doors to complex behaviors : organize code

2009-08-21 Thread finneycanhelp
Hi, What do you think about the article "Custom events in jQuery open doors to complex behaviors" by Rebecca Murphey? http://www.reynoldsftw.com/2009/04/custom-events-in-jquery-open-doors-to-complex-behaviors/ It seemed like an interesting way to organize code around a "widget" / component conce

[jQuery] Re: JQuery ClueTip Arrow Issue

2009-08-21 Thread Karl Swedberg
On Aug 20, 2009, at 1:09 PM, brandon wrote: Without making the tooltip fixed is there a way to have the arrow pointer always display in the same position to the left when it hovers over the selector? i.e. the left arrow will always display in the middle of the container Not with the arrows

[jQuery] Re: handling of click event?

2009-08-21 Thread James
Oops, small typo: function tellme(obj) { alert(obj.href); } On Aug 21, 12:57 pm, James wrote: > You'd have to pass the reference of the clicked object to tellme(), > otherwise it has no access to anything from where it's called. > > $("a.someLinks").click(function(event){ >     tellme(this)

[jQuery] Re: handling of click event?

2009-08-21 Thread James
You'd have to pass the reference of the clicked object to tellme(), otherwise it has no access to anything from where it's called. $("a.someLinks").click(function(event){ tellme(this); }); function tellme(obj) { alert(this.href); } On Aug 21, 12:53 pm, Audrey A Lee wrote: > jQuery Peo

[jQuery] Form Plugin issue

2009-08-21 Thread Lay András
Hello! I'm using jQuery Form Plugin to upload files, and i discovered a strange issue. If the response data contains jQuery code, a "$ is not defined" javascript error occured, but the jquery code which produce this error message, is executed. This only happens when file is selected. If the file

[jQuery] Re: setInterval()

2009-08-21 Thread James
You probably shouldn't use 'int'. It may be a reserved word in Javascript. I suggest using a different variable name to be safe. On Aug 21, 11:01 am, solow wrote: > Hey, > > I have a question. > > I want to create a javascript loop, with setInterval(). > This loop has to be used in dynamicaly lo

[jQuery] validate plugin

2009-08-21 Thread AMP
Hello, I am using the "milk" sample but cant seem to find how the error message is styled AND where the "X" comes from. Also, I use javascript:'' + window.document.body.outerHTML+ '' to show a rendered page but it doesnt show the "X" thier either. Thanks, Mike

[jQuery] setInterval()

2009-08-21 Thread solow
Hey, I have a question. I want to create a javascript loop, with setInterval(). This loop has to be used in dynamicaly loaded content, which should be reloaded every x seconds. This works fine. But now, I want to use clearInterval to STOP the interval, when I leave the dynalically loaded page.

[jQuery] Re: Cannot get columns with rowspan to not be included in sorting (Tablesorter 2.0)

2009-08-21 Thread Amateur Radio Club
I downloaded the source from there, does anyone use this feature with the latest source and have it work? On Aug 21, 2:24 pm, aquaone wrote: > tablesorter.com is the up-to-date site for the source. > > On Fri, Aug 21, 2009 at 10:53, Robert H. wrote: > > > (Going to post this Here since JQuery P

[jQuery] Effect on mouseover?

2009-08-21 Thread Dennis Madsen
I've created a sample site with a bounce effect: http://dennismadsen.com/uploads/jquery/ I would like the effect to start when the mouse enter the outer div. But as you see this effect seems to repeat in Firefox and Internet Explorer. But it works in Chrome. How can I fix that? The below is a id

[jQuery] Re: How to access jQuery/javascript [from] asynchronously loaded data.

2009-08-21 Thread gossamermedia
Thanks for the link. Wasn't 100% what I was looking for, but it did point me in the right direction.. Appears that .load injects the html that I am calling into the DOM. I think that makes my function unavailable to my request, once the html is injected into the DOM. Looking at this tutorial: ht

[jQuery] Re: Cannot get columns with rowspan to not be included in sorting (Tablesorter 2.0)

2009-08-21 Thread aquaone
tablesorter.com is the up-to-date site for the source. On Fri, Aug 21, 2009 at 10:53, Robert H. wrote: > > (Going to post this Here since JQuery Plugins seems Dead) > > Hello, > > I've been working on getting a table with a super header and sub > headers to only sort by the sub headers. The exa

[jQuery] Re: How to detect the browser close event using Jquery ?

2009-08-21 Thread James
You can't do it for privacy reasons. Otherwise you'll be able to track when a user closes their browsers. Big no-no. You can only check when a page generically unloads. On Aug 21, 6:21 am, Juan manueL wrote: > Hi all, > I'm having troubles trying to detect the browser close event. (in FF > or IE

[jQuery] How to access jQuery/javascript [from] asynchronously loaded data.

2009-08-21 Thread gossamermedia
I'm not sure I'm asking the question correctly, but if anyone could point me to the correct article or discussion, I'd appreciate it. (or just answer the questions if you are so gracious) After loading an html file asynchronously into a div on my webpage, I don't seem to be able to use jQuery wit

[jQuery] jQuery.event.trigger internals: why is click/onclick on a tags skipped?

2009-08-21 Thread August Lilleaas
Code in question: http://code.google.com/p/jqueryjs/source/browse/trunk/jquery/src/event.js#256 http://code.google.com/p/jqueryjs/source/browse/trunk/jquery/src/event.js#262 Why is it not triggering events if it's "click" on "a" elements? And where is "click" on "a" elements handled?

[jQuery] using cycle plugin like serialscroll

2009-08-21 Thread bryan
i want to use the cycle plugin to replace the serialscroll plugin i'm using to do horizantal scroll? how would i do that? what would i have to change in the css and options? i tried some different things but can't get it to show more than one item at a time.

[jQuery] Re: Plugin to let the user draw rectangles

2009-08-21 Thread Richard D. Worth
Here's how you can do that with a quick plugin built on top of ui.mouse, which is part of jQuery UI core: http://jsbin.com/aqowa This is based on the jQuery UI Selectable interaction plugin, which draws a rectangle lasso as you drag to select elements. - Ric

[jQuery] Re: ajaxStart() ajaxStop() problem

2009-08-21 Thread Brian FitzGerald
Was this ever resolved, by chance? I'm facing the same issue and I've been digging around the docs and online and haven't come up with a solution. I am using firefox 3, and I have tried, get(), load(), post (), and ajax(), and for each one the ajax events seem to fire for the first request only,

[jQuery] Re: preventDefault

2009-08-21 Thread James
I think you want to use :has() selector instead of contains(). http://docs.jquery.com/Selectors/has I think contains() works only for text nodes and not elements. I haven't tested it to be sure. On Aug 20, 9:06 pm, Hans wrote: > hello everybody, > > the site I'm building has a dropdown menu ba

[jQuery] Re: setInterval()

2009-08-21 Thread Leonard Martin
In this case you need to wrap the code inside the onclick in a function: onclick="function(){int=clearInterval(int);}" although obviously better would be to use $.click to bind the event: $('button#foo').click(function(){int=clearInterval(int);}); You will probably also want to check that the

[jQuery] Re: Plugin to let the user draw rectangles

2009-08-21 Thread Richard D. Worth
Here's a slightly improved version. Thanks @cioa demo: http://jsbin.com/azare code: http://jsbin.com/azare/edit - Richard On Fri, Aug 21, 2009 at 3:59 PM, Richard D. Worth wrote: > Here's how you can do that with a quick plugin built on top of ui.mouse, > which is par

[jQuery] JCarousel issue.

2009-08-21 Thread smelf1
Hi, I have the JCarousel working in the horizontal position. It changes automatically and can display say 5 images correctly. But when i try to set it to vertical the images get squashed together. Does anyone know how i can fix this. Regards

[jQuery] Re: How to access jQuery/javascript [from] asynchronously loaded data.

2009-08-21 Thread James
If you are calling your lightbox initialization code before your AJAX call, read this: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F On Aug 21, 6:41 am, gossamermedia wrote: > I'm not sure I'm asking the question correctly, but if anyone

[jQuery] How to detect the browser close event using Jquery ?

2009-08-21 Thread Juan manueL
Hi all, I'm having troubles trying to detect the browser close event. (in FF or IE) To do this I'm using these events: "unload" and "beforeunload", but both are more or less the same, I mean, when I refresh the page or navigate away thru some link, these events catch the same action, but I just n

[jQuery] selectors with xml cdata, parse html string

2009-08-21 Thread Donnie La Curan
I have an XML document that is returned which has an element named html. Inside of that element is a block of HTML wrapped with CDATA tags. I can alert the html variable that i create and see it has all of the data inside of it. So I want to parse through and grab certain things now. I'm just tryi

[jQuery] Draggable problem

2009-08-21 Thread Stephan
Hi there, I am developing a web based desktop similar to eyeOS (google it to see more). I use jQuery to power the ajax part. Everything works great so far except that I have a little problem with the different windows (all div's) that I open. I made them draggable which works but they are dragga

[jQuery] Re: Checkbox perpetually marked as checked

2009-08-21 Thread KeeganWatkins
Jon is correct... you are using an assignment operator in place of an equality operator. the code you have above executes to mean: // this isn't a test for the checkbox's state, it just sets it to true if (document.getElementById("ownCheck").checked = true) ownerCheck = true; else

[jQuery] Re: jquery menu that works with ie6 (plugin?)

2009-08-21 Thread con-man-jake
Did it. Works like a charm! Thanks again Jack. jake On Aug 21, 9:27 am, con-man-jake wrote: > Thank you Jack, I'll give it a world. > jake > > On Aug 20, 5:27 pm, Jack Killpatrick wrote: > > > > > I've used this in a bunch of sites that had to work in IE6: > > >http://jdsharp.us/jQuery/plugi

[jQuery] Re: [validate] - how to validate tinymce editor?

2009-08-21 Thread Tokasa
Thanks all, it looks like what I ment :) Tomas On Aug 21, 6:20 pm, Jörn Zaefferer wrote: > Check this out:http://jquery.bassistance.de/validate/demo/tinymce/ > > Jörn > > On Fri, Aug 21, 2009 at 5:49 PM, D A wrote: > > >> Is it possible to inject somewhere inside validate() some action > >> befo

[jQuery] selectors with xml cdata, parse html string

2009-08-21 Thread Donnie La Curan
I hope this doesn't come through as a double post, I posted already and it hasn't shown up yet. I have an XML document that is returned which has an element named html. Inside of that element is a block of HTML wrapped with CDATA tags. I can alert the html variable that i create and see it has al

[jQuery] Cannot get columns with rowspan to not be included in sorting (Tablesorter 2.0)

2009-08-21 Thread Robert H.
(Going to post this Here since JQuery Plugins seems Dead) Hello, I've been working on getting a table with a super header and sub headers to only sort by the sub headers. The example at http://lovepeacenukes.com/tablesorter/2.0/docs/ shows this is possible but everytime I try to run the code th

[jQuery] Re: jquery upgrade issue

2009-08-21 Thread lionel28
Sorry to revive that old thread. I have the same problem but in a peculiar manner. on my desktop, the script runs fine in all browsers. in one site on my server it runs well in IE but throws that same error on FF I place the exact same script in another site on same server and all is fine for a

[jQuery] having an issue with the blockUI plugin - the growl option

2009-08-21 Thread oatzut
Hi, I'm trying to implement the Growl option for the blockUI plugin, the "hard" way ( as seen here: http://malsup.com/jquery/block/#demos, second to last example). The reason why I'm going the "hard" way is because I'd like to have multiple Growl messages - one for an error, one for a success, et

[jQuery] Plugin to let the user draw rectangles

2009-08-21 Thread juanefren
Is there any plugin to let the user draw rectangles (probabbly with mouse clicks or key-arrows) and store the coordinates in a hidden variable ?

[jQuery] Re: How to supply the xhr exception object to $.ajax()?

2009-08-21 Thread MorningZ
I'm no PHP expert, or even a novice for that matter but in ASP.NET saying the line Throw New Exception("This is a server side error") the value in that jQuery error function "xhr" has that text inside xhr.responseText (along with the rest of the HTML that .NET generate, but I just pull out

[jQuery] Re: How to supply the xhr exception object to $.ajax()?

2009-08-21 Thread livefreeordie
Yeah I can do something similar with PHP's die() function. Of course, it won't let me set the status code to 500, and also put the error message in the die() function. Thanks for the reply. Anybody else? Jamie On Aug 21, 2:02 pm, MorningZ wrote: > I'm no PHP expert, or even a novice for th

[jQuery] Help Add variable to jquery file tree

2009-08-21 Thread 262Rui
I'm using jquery file tree plugin and my document head goes like this: $(document).ready( function() { $('#fileTreeDemo_3').fileTree({ root: 'download/', script: 'conector.php' }, function(file) { al

[jQuery] How to supply the xhr exception object to $.ajax()?

2009-08-21 Thread livefree75
Hi, I've been using $.get() and $.post() extensively, but then noticed teh more functional $.ajax, which lets you handle server-side errors using the "error" option. The parameters to the callback function for the error option are: (xhr, status, exception), where in the documentation it says "ex

[jQuery] Re: [validate] - how to validate tinymce editor?

2009-08-21 Thread Jörn Zaefferer
Check this out: http://jquery.bassistance.de/validate/demo/tinymce/ Jörn On Fri, Aug 21, 2009 at 5:49 PM, D A wrote: > >> Is it possible to inject somewhere inside validate() some action >> before it is validatede.g. copy all content first to textarea. > > Tomas: > > I believe you have to at

[jQuery] Re: jquery-DatePicker

2009-08-21 Thread Dhruva Sagar
I can give you some ideas perhaps, I am assuming you know which dates you want to be marked. See and try to understand the HTML that the datepicker generates for the calendar. Then try and add css attributes to these dates with which you can indicate them as marked, along with that you could also a

[jQuery] Re: jCarousellite: is it possible to remember a slide's position?

2009-08-21 Thread Jon Banner
you could try using the afterEnd callback function to capture the position of the carousel and store this in a cookie, and then pass this variable back in as the start position for the carousel. 2009/8/21 noahT > > Today a client asked me if it's possible to remember a slide's > position after

[jQuery] Some basic AJAX questions re: jQuery load

2009-08-21 Thread D A
Been playing with jQuery for a while but haven't really gotten my hands dirty with actual AJAX calls. I have a few questions regarding a (hopefully) basic call: $('div#myContainer').load("mySnippet.html"); mySnippet ends up being just a snippet of HTML: my html I want to load via jQuery

[jQuery] Re: [validate] - how to validate tinymce editor?

2009-08-21 Thread Giovanni Battista Lenoci
Tokasa ha scritto: Hi, anybody knows how to validate tinymce HTML wysiwyg editor? http://tinymce.moxiecode.com/ The main issue is that editor hides textarea and renders an iframe where you edit stuff...your text is copied to the textarea on submitbut validation plugin is faster and it dis

[jQuery] Re: 'Wrapping' some (not just 1 pair) HTML elements in a ?

2009-08-21 Thread ldexterldesign
Ben; you are the man :D Thank you! L On Aug 21, 3:13 pm, Benjamin Sterling wrote: > Take a look athttp://pastebin.com/mbfd5584 > > It'll produce structure like: > >         >             >                         id="attachment_762"> >             >         > > That should get you started.

[jQuery] Re: 'Wrapping' some (not just 1 pair) HTML elements in a ?

2009-08-21 Thread Benjamin Sterling
Take a look at http://pastebin.com/mbfd5584 It'll produce structure like: That should get you started. On Aug 21, 9:34 am, ldexterldesign wrote: > No luck with thathttp://snipplr.com/view/4746/jquery--nextuntil/ > script guys :[ Can any

[jQuery] Re: [validate] - how to validate tinymce editor?

2009-08-21 Thread D A
> Is it possible to inject somewhere inside validate() some action > before it is validatede.g. copy all content first to textarea. Tomas: I believe you have to attach the onClick event to the form submit button for TinyMCE to move the content into the textArea. I think you could probably j

[jQuery] Re: event handlers that run after the browser's default action

2009-08-21 Thread Nick Fitzsimons
2009/8/20 Tom Worster : > > is there a way to set up a page so that a event handler function is bound to > a DOM object and event but it runs _after_ the browser's default action is > complete? > No; the DOM Events specifications explicitly state that the event handling process occurs before the

[jQuery] Re: how to get back the DOM element as HTML source

2009-08-21 Thread KeeganWatkins
i wrote a really simple plugin for this, as i frequently have the same use case: jQuery.fn.outerHTML = function() { return jQuery("").append( jQuery(this[0]).clone() ).html(); } so that i could call it on any element, such as: $("#fooID").outerHTML(); On Aug 19, 9:55 am, John wrote: > Tha

[jQuery] Re: Dynamic AJAX call on element show()/toggle()

2009-08-21 Thread Dhruva Sagar
Well there could be several solutions to what you wish to achieve. I'll give you one quick one that I can think of right now. create the div's with a particular class, say IP_click. and then do $('.IP_click').click(function(){ $(this).children('.IP').toggle().ajax(function(){ //call page here

[jQuery] Re: jquery-DatePicker

2009-08-21 Thread tola
my major problem is this : I have the datepicker calendar working quite well on the web page [using something like this ... $(function()$('#datepicker').datepicker({ changemonth:true, changeYear: true }); ) ], but i want to add more functionalities to the calendar , whic

[jQuery] Re: 'Wrapping' some (not just 1 pair) HTML elements in a ?

2009-08-21 Thread ldexterldesign
No luck with that http://snipplr.com/view/4746/jquery--nextuntil/ script guys :[ Can anyone get anything working? http://pastebin.com/m5a27bd91 The JS I need to generate is above and below the chunk of HTML. Many thanks, L On Aug 20, 7:56 pm, ldexterldesign wrote: > Cheers for your help Ben.

[jQuery] Re: jquery menu that works with ie6 (plugin?)

2009-08-21 Thread con-man-jake
Thank you Jack, I'll give it a world. jake On Aug 20, 5:27 pm, Jack Killpatrick wrote: > I've used this in a bunch of sites that had to work in IE6: > > http://jdsharp.us/jQuery/plugins/jdMenu/ > > - Jack > > > > con-man-jake wrote: > > Can anyone recommend a jquery menu plug that works with ie6

[jQuery] Re: event handlers that run after the browser's default action

2009-08-21 Thread ak732
Not sure that there's a more deterministic approach - if so, it's beyond my limited Javascript knowledge. Specifically what are you trying to accomplish by wiring an event handler to fire after the default action? On Aug 20, 10:39 pm, Tom Worster wrote: > thanks. > > i thought of using a timeou

[jQuery] Re: Dynamic AJAX call on element show()/toggle()

2009-08-21 Thread Wrenbjor
I want to be a little more clear. I don't want someone to write this for me, I want to understand the process on how to do it. I think it will rely on chaining events, so I think I need a better understanding on how to make that work. On Aug 20, 4:34 pm, Wrenbjor wrote: > ok I am using the table

[jQuery] Re: jquery-DatePicker

2009-08-21 Thread Dhruva Sagar
Can you please explain/elaborate the use case?Ideally you would simply get 1 date from the database which you can set to the input box to which you have bound the datePicker. Thanks & Regards, Dhruva Sagar. Samuel Goldwyn - "I'm wi

[jQuery] JCarousel auto resize vertically

2009-08-21 Thread i_otoole
How do i get the JCarousel working automatically in vertical with auto re-size. It works fine horizontally but when i try to do more than 3 pictures vertically they get squashed.

[jQuery] jquery-DatePicker

2009-08-21 Thread tola
Has anyone ever used the datepicker to add event from a database to a calendar ??? trying to connect to the database from the datepicker has been taking alot of my time . Please , i need help.

[jQuery] Re: Having a problems with $.post() and external .js files

2009-08-21 Thread m...@polyvisual.co.uk
Thank you for replying. Yeah, that make sense to me. I'll try it when I get home. Thanks again :) On Aug 21, 10:47 am, Dhruva Sagar wrote: > In my opinion the problem of it not triggering the second time when your > .php file has loaded a new form is because it is a new .select tag!The not >

[jQuery] Re: form elements brainteaser

2009-08-21 Thread Chris Hall
That was fantastic! Thank you very much for that! On Aug 19, 5:09 pm, Peter Edwards wrote: > Hi Chris, > > I have a working example at: > > http://jsbin.com/udota/ > > I've made the number of second inputs configurable so you can test it. > All you need now is a way of checking if they all add

[jQuery] jQuery Form Plugin ajax submit

2009-08-21 Thread Chris Hall
Using the following code: $('.input_all').attr("disabled", "disabled"); for input texts with the class="input_all" seems to break jQuery forms ajax submit. How can I fix this?

[jQuery] [validate] - how to validate tinymce editor?

2009-08-21 Thread Tokasa
Hi, anybody knows how to validate tinymce HTML wysiwyg editor? http://tinymce.moxiecode.com/ The main issue is that editor hides textarea and renders an iframe where you edit stuff...your text is copied to the textarea on submitbut validation plugin is faster and it displays an error messag

[jQuery] Re: Replace select with it's value.

2009-08-21 Thread Dhruva Sagar
It is possible.This is a pseudocode : $('table').children('select').each(function(){ $(this).parent().append($(this).val()); $(this).remove() //you could do .hide() if you just want to hide them }); Thanks & Regards, Dhruva Sagar. Jonathan Swift

[jQuery] Re: Get inner class of event

2009-08-21 Thread Liam Potter
This happens to me quite often, so do what I do, write the group post, but don't send it, just go back to trying to solve it, if you can't solve it then click the send button :) Michael Price wrote: Hello again folks – as per usual, I managed to get this working five minutes later! So neve

[jQuery] Re: Get inner class of event

2009-08-21 Thread Michael Price
Hello again folks - as per usual, I managed to get this working five minutes later! So never mind, but thanks if you were going to take a look at it J Regards, Michael Price From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Michael Price Sent: 21 August 2009

[jQuery] Get inner class of event

2009-08-21 Thread Michael Price
Hi all, Got a div on a page, and we want something to happen when a user clicks on the div. However, within the div is a link and we want something DIFFERENT to happen if they click on the LINK rather than anything else in the div. Clicking the link is triggering the div click code as well - I nee

[jQuery] Replace select with it's value.

2009-08-21 Thread henrikaagaardsoren...@gmail.com
Is it possible to run through an entire table and replace all instances of select with it's value instead?

[jQuery] Re: Having a problems with $.post() and external .js files

2009-08-21 Thread Dhruva Sagar
In my opinion the problem of it not triggering the second time when your .php file has loaded a new form is because it is a new .select tag!The not triggering has nothing to do with including of the .js file. What you need to ensure is after the $.post, when you update the form using $('#searchbox

[jQuery] Having a problems with $.post() and external .js files

2009-08-21 Thread m...@polyvisual.co.uk
Hi all, Can someone help? I'm having a problem with $.post() and including external .js files. I include my jquery in the header of each page: I have a php file which includes a form [an external php file called searchformbox.php]. Each time a is changed in the form, jquery handles the submi

[jQuery] Re: add value from listbox to textbox

2009-08-21 Thread Dhruva Sagar
In fact you have to re-check the *id* of both the 'select' box and the 'text-box'.It should work if these two are correct. Thanks & Regards, Dhruva Sagar. Samuel Goldwyn - "I'm willing to admit that I may not always be right, but I

[jQuery] Re: add value from listbox to textbox

2009-08-21 Thread Dhruva Sagar
Well, I re-read your HTML, and I see that the 'id' of the text box you have mentioned is 'edit-field-sourc-0-value', please just make sure the spellings of the 'id' of the text field are right, exactly as you have in your HTML Thanks & Regards, Dhruva Sagar. Jonathan Swift

[jQuery] Re: add value from listbox to textbox

2009-08-21 Thread Tan
yes, i have to change code to: http://www.w3.org/ TR/html4/strict.dtd"> test http://jqueryjs.googlecode.com/ files/jquery-1.3.2.min.js"> $(document).ready(function(){ $('#edit-default-source').change(function() { $('#edit-field-soure-0-value').text($(this).val()); }); }); hongki

[jQuery] Re: Simplemodal close confirm

2009-08-21 Thread Dhruva Sagar
Seems like your using the SimpleModal jQuery plugin.I am not sure what happens after you call $.modal.close(); does that remove() the dialog from the DOM? or does it change the #content in any way? Thanks & Regards, Dhruva Sagar. Pablo Picasso

[jQuery] Re: Long running AJax request blocking the other ajax requests

2009-08-21 Thread sak
Hi there I sorted out a similar situation just the other day. See the thread below. I am not sure whether the same is for php, but the problem was lying on the server side and the asp session id. once I had "enablesessionstate" to false it all worked ok http://groups.google.com/group/jquery-

[jQuery] Re: add value from listbox to textbox

2009-08-21 Thread Dhruva Sagar
For the listbox you should simply use the function *change *i'll give an example : $('#edit-default-source').change(function() { $('#edit-field-soure-0-value').text($(this).val()); }); This should do what you want (if I correctly understood it), once you select an option in the select drop

[jQuery] Simplemodal close confirm

2009-08-21 Thread Jirka
Hi, I want create a confirmation of close in Simple modal. I try make this code: $(\"#content\").modal({onClose: function (dialog) { if (confirm(\"Realy close?\")){ dialog.data.fadeOut('slow', function () { dialog.container.slideUp('slow', funct

[jQuery] add value from listbox to textbox

2009-08-21 Thread Tan
i have to create a listbox and a textbox. I want to select value form listbox then this value shows in textbox http://www.w3.org/ TR/html4/strict.dtd"> test http://jqueryjs.googlecode.com/ files/jquery-1.3.2.min.js"> $(document).ready(function(){ $('#edit-default-soure').change(function

[jQuery] preventDefault

2009-08-21 Thread Hans
hello everybody, the site I'm building has a dropdown menu based on an unordered list with 3 levels. I've got it working nicely using jQuery, but there is one thing I can't get working.. this is the problem: the 'a href' on the first tow levels serves to open up the level below without leaving

[jQuery] Adding a progress indicator for file download

2009-08-21 Thread bhooper
Users on my site can select items from a form and when they click submit I create a pdf and download it. Now I have the form working, the submit creates the pdf and the result downloads without any issues. The problem is that it can take 5 - 10 seconds to generate the pdf. Is there a way to use j

[jQuery] Re: KFManager v1.0

2009-08-21 Thread Andrea - Aosta
In the tinymce page the file manager dont'work. On Aug 20, 5:55 pm, Ken wrote: > sorry. because the time busy, can the next time I will put it to MCE. > > 2009/8/20 Sam Sherlock > > > > > > > great work Ken > > > on the mce page the normal mce manager opens for me - and as Cyril said the > > pa

[jQuery] Re: :first relative to clicked element

2009-08-21 Thread Carl-Johan Lindqvist
Hi Jules and thanks for your reply. Sadly, that didn't work (though I now use your $(this).nextAll ('blockquote:first') to select the blockquote, it looks better than .next().next() ) Might the problem with the tag has something to do with the fact that the whole More.. is added by jQuery itsel