[jQuery] Re: remove dynamically placed dom element

2008-07-13 Thread Kevin Pepperman
For dynamicly loaded elements you will need to use a plugin. I suggest the 'listen' plugin. Refer to the FAQ for more information. http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F On Su

[jQuery] about redirect

2008-07-13 Thread mdipierro
Hello, first of all, thanks for jQuery it is fantastic. I have a question: I want to sue $.ajax but, if the server responds http 303, I do not want to follow the new location within the ajax request, I want instead to redirect the current page/document to the new location. Is there a way to do s

[jQuery] jQuery Tabs - Sync rotation with a 'loader' animation?

2008-07-13 Thread Illah
I'm using tabs to facilitate a carousel to rotate content on my site, and I wanted to add an animated GIF 'loader' graphic that is timed with the loader. On Firefox 3 this works perfectly - it seems to be smart enough to not start the GIF animation until the script shows each frame. With other b

[jQuery] Listbox plugin that uses upper and lower arrow for ordering

2008-07-13 Thread george.hcn
Hi All, I'm looking for a jQuery listbox plugin that could do ordering inside a listbox with two buttons that control the selected listbox item to manipulate the ordering. Thank you very much. I haven't been able to find one >_<. thx, George

[jQuery] Re: Help with UI Dialog show dialog

2008-07-13 Thread Richard D. Worth
The first time you call .dialog(options) is an initialization. If you close the dialog after that (either by clicking on the 'X' or calling $(el).dialog('close') it is still initialized. If you want to re-open it, call $(el).dialog('open'); The only time you would call .dialog(options) again is if

[jQuery] remove dynamically placed dom element

2008-07-13 Thread Tom Shafer
I am using this code to add a new item to a list $("#addLinks").submit(function() { $.post("addLinks.php",{ step:'addLink',title:$ ('#title').val(),url:$('#url').val(),pageID:$('#pageID').val()} , function(data) { $('#'+$('#pageID').val()).

[jQuery] Re: slideToggle flickering in Firefox (jQuery version 1.2.6)

2008-07-13 Thread [EMAIL PROTECTED]
I tested it in safe mode, and flickering still happens. Here's a more- or-less minimal test case that really demonstrates the problem: http://www.richardsimoes.com/test2.html Scroll down to the very bottom and click "click me." The top should be flickering as the slide animation plays. It happens

[jQuery] Re: problem with Query String Object

2008-07-13 Thread Sam Sherlock
testing your url here: http://test.blairmitchelmore.com/jquery.query/?shosse[]=20&shosse[]=22&shosse[]=23&shosse[]=24&price=0 gives you this get "shosse" => [20, 22, 23, 24] > > get "price" => 0 > > tostring => "?shosse[0]=20;shosse[1]=22;shosse[2]=23;shosse[3]=24;price=0" > then in firebug I t

[jQuery] Re: AutoComplete and JSon not working as expected. Please, help me out.

2008-07-13 Thread shapper
Hi, I tried to replicate your code using the JSon string generated by ASP.NET MVC. I created a static php code as you did ... To be honest I am not familiar with php. This was the best I was able to do ... I have been trying everything to make this work ... I really don't understand why my AutoC

[jQuery] Re: Firefox caching form data on soft refresh

2008-07-13 Thread Drew
This is the answer I came up with. I basically had to write the code twice, which is redundant, but I can't seem to get it to work any other way: Basically, the first section ties it to to the change and select commands, whilst the second section needs to just run on the ready event. There has go

[jQuery] Re: Superfish - strange behavior when including images in items

2008-07-13 Thread DavCar
Thank you Joel. Solved my problem. And I learned some valuable insights too. Much appreciated! Still trying to wrap my head around your beautiful and suscinct code :-) I'm still kind of new to the whole client-side of things. My only remaining issue is IE7's behavior in which the dropshadow appe

[jQuery] Re: Internet Explorer 6 Not Running Code

2008-07-13 Thread Michael Geary
I don't see anything that jumps out at me as being obviously wrong. It would be helpful to post a link to a test page, not just code in isolation. Also keep in mind that alert() changes the way your program runs in a pretty significant way. Use a logging tool such as Firebug Lite instead. Or jus

[jQuery] Re: FF2/Mac Text Dimming issue => a solution!

2008-07-13 Thread Richard W
In all honesty, no reason, just haven't been bothered to upgrade... On Jul 13, 10:34 pm, Mike Alsup <[EMAIL PROTECTED]> wrote: > > I recently starting working on a Mac using FF2 as my browser of > > choice. After a short period I noticed the infuriating text dimming > > FF2/Mac opacity bug. Thank

[jQuery] Re: array method on a jQuery object: deleting, adding elements

2008-07-13 Thread Michael Geary
The jQuery object (returned by a $(...) query) is an "array-like" object. It doesn't use a separate Array to store its data. The jQuery object itself has a .length property, and numeric indices [0] through [.length-1]. And of course it has all the other jQuery methods. But it is not an Array and

[jQuery] Re: FF2/Mac Text Dimming issue => a solution!

2008-07-13 Thread Mike Alsup
> I recently starting working on a Mac using FF2 as my browser of > choice. After a short period I noticed the infuriating text dimming > FF2/Mac opacity bug. Thanks to the support from this group, I found > that by by adding -moz-opacity:.999 to the body would fix this issue, > but recently Joel

[jQuery] UI Dialog help with show dialog

2008-07-13 Thread Pitrsonek
Hi, i have this function: function showSendMessage(id){ $('#sendMessage').dialog({modal: true,overlay:{opacity: 0.5,background: "black"},title: 'Kontaktovat uživatele'}); //$('#sendMessage').dialog('open'); $('#sendMessage').css({ display:"block"}); $('#ClientsReci

[jQuery] UI Dialog help with show dialog

2008-07-13 Thread Pitrsonek
Hi, i have this function: function showSendMessage(id){ $('#sendMessage').dialog({modal: true,overlay:{opacity: 0.5,background: "black"},title: 'Kontaktovat uživatele'}); //$('#sendMessage').dialog('open'); $('#sendMessage').css({ display:"block"}); $('#ClientsReci

[jQuery] Help with UI Dialog show dialog

2008-07-13 Thread Pitrsonek
Hi, i have this function: function showSendMessage(id){ $('#sendMessage').dialog({modal: true,overlay:{opacity: 0.5,background: "black"},title: 'Kontaktovat uživatele'}); //$('#sendMessage').dialog('open'); $('#sendMessage').css({ display:"block"}); $('#ClientsRecipientId').attr(

[jQuery] [tooltip] positioning

2008-07-13 Thread Ryan McKillen
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

[jQuery] load contents of body tag from a remote html file...

2008-07-13 Thread slillig
How would I go about loading only the contents between the body tag of a remote html file? I have tried adding a css ID to the body tag like so: $("#header").load("templates/index.html #tempBody"); and get nothing in return, it's only when I apply this to a wrapper div that it seems to work. Un

[jQuery] fgCharting

2008-07-13 Thread Dan
Is fgCharting the plugin to use to make Additive Charts? There plugin only supports jQuery version 1.2.1. Is there a better charting script that can do additive charts? or how would one go about updating their code so it can run with 1.2.6?

[jQuery] Internet Explorer 6 Not Running Code

2008-07-13 Thread Mark
Hi, I'm not sure whether this is where to post this, but I have some jquery code that runs in FF but is not executing in IE6. function LoadFields() { if(this.id) { //some code } else // first load { // build the HTML optio

[jQuery] FF2/Mac Text Dimming issue => a solution!

2008-07-13 Thread Richard W
Hey There I recently starting working on a Mac using FF2 as my browser of choice. After a short period I noticed the infuriating text dimming FF2/Mac opacity bug. Thanks to the support from this group, I found that by by adding -moz-opacity:.999 to the body would fix this issue, but recently Joel

[jQuery] Re: AutoComplete and JSon not working as expected. Please, help me out.

2008-07-13 Thread shapper
Hi, With ASP.NET this is not so easy ... Anyway, I tried to place your example and mine in the same page using PHP, which I am really not very familiar: http://www.27lamps.com/Labs/AutoComplete/AutoComplete.html Sorry, but I am not really use with PHP. Thanks, Miguel On Jul 13, 2:41 pm, "Jörn

[jQuery] Re: [validate]

2008-07-13 Thread Jörn Zaefferer
Its all here: http://docs.jquery.com/Plugins/Validation/validate#toptions Jörn On Sun, Jul 13, 2008 at 8:49 PM, Steffan A. Cline <[EMAIL PROTECTED]> wrote: > > Jörn, > > Just an FYI, in looking thru the documentation I see that between the jQuery > format and the original format that there are m

[jQuery] [validate]

2008-07-13 Thread Steffan A. Cline
Jörn, Just an FYI, in looking thru the documentation I see that between the jQuery format and the original format that there are missing elements that need to be added. For example, on here : http://docs.jquery.com/Plugins/Validation You do not have a section for errorClass, errorPlacement, error

[jQuery] Re: Taconite + clueTip plugin

2008-07-13 Thread Crazymind
Thanks mike. I solved it like this: title="Title | " On 13 Jul., 17:26, Mike Alsup <[EMAIL PROTECTED]> wrote: > > Hello Everyone > > > Because of my cluetip plugin  i make something like this > > > > >      " /> > > > > > With taconite i want

[jQuery] Re: jQuery Validation Error

2008-07-13 Thread Sam Washburn
oh my.. :( I feel foolish. sorry to bother you. But, thanks a lot for pointing that out. Sam On Jul 13, 1:45 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > You've got a duplicated id, submitGame, once on a div, once on a form. > Thats invalid markup and causes a rather obscure failure. The

[jQuery] Re: jQuery Validation Error

2008-07-13 Thread Jörn Zaefferer
You've got a duplicated id, submitGame, once on a div, once on a form. Thats invalid markup and causes a rather obscure failure. The validator mentions that: Error Line 38, Column 88: ID "SUBMITGAME" already defined. Jörn On Sun, Jul 13, 2008 at 5:37 PM, Sam Washburn <[EMAIL PROTECTED]> wrote:

[jQuery] Re: Validate Plugin

2008-07-13 Thread [EMAIL PROTECTED]
Never Mind. I took the .next() out of this line. error.appendTo( element.parent().next() ); On Jul 12, 5:47 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi All, > > I just started working with the validate plug in and I am having a > interesting problem. I am validating input text tag t

[jQuery] Re: jQuery Validation Error

2008-07-13 Thread Sam Washburn
Ok, so I'm not crazy :D I've uploaded a stripped down version that throws the error, here: http://sam-n-rachel.com/ccn/tests/jqTest/jqTest.html Thanks again! Sam On Jul 13, 5:49 am, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > I can't see any obvious error in your code. Could you upload a > te

[jQuery] Firefox caching form data on soft refresh

2008-07-13 Thread Drew
Hi everyone, First I would like to say this is my second day playing with jQuery and I can tell I am going to be hooked on it. Very cool stuff, and not to mention how well it helps downgrade for non-js browser. Very Cool! Now, on to my question: Right now I have a form where a few div's are ope

[jQuery] Browser Refresh - content being cached

2008-07-13 Thread Drew
Hi everyone, First I would like to say this is my second day playing with jQuery and I can tell I am going to be hooked on it. Very cool stuff, and not to mention how well it helps downgrade for non-js browser. Very Cool! Now, on to my question: Right now I have a form where a few div's are ope

[jQuery] Re: jqGrid problem

2008-07-13 Thread Tony
> 1: Is there an event or other way to tell when the grid has loaded? There is such event - loadComplete, but in the upcoming release there is another gridComplete. > 2: Is there a better way to do this? Currently no Regards Tony On Jul 8, 12:17 am, aballard <[EMAIL PROTECTED]> wrote: > I want

[jQuery] Re: Taconite + clueTip plugin

2008-07-13 Thread Mike Alsup
> Hello Everyone > > Because of my cluetip plugin  i make something like this > > >      " /> > > > With taconite i want know rebuild this div but the problem is that > taconite gives an undefined error because of the img-tag(and all other > html tags) inside uf the title attribute. > > For thos

[jQuery] if serialize(s) returns empty, show: 0

2008-07-13 Thread Null
Hi, I have the following function: function serialize(s) { serial = $.SortSerialize(s); document.getElementById('serial').value=serial.hash.replace(/sort3\ [\]=/gi, '').replace(/&/g, ','); }; This returns a string like: 1,2,4,6,8 It is possible that there is nothing to sortserialze, so i

[jQuery] Simulating mouseOver 'Rotating' Thumbnails

2008-07-13 Thread juro
Hi, I am trying to simulate this website http://www.dp-photo.com/index.php#a=0&at=0&mi=2&pt=1&pi=1&s=0&p=1 using jQuery - check the thumbnails on the right. Showing the the thumbnails on mouse over is not a problem but the continuous 'rotating' depending on the mouse position is where I am st

[jQuery] Taconite + clueTip plugin

2008-07-13 Thread Crazymind
Hello Everyone Because of my cluetip plugin i make something like this " /> With taconite i want know rebuild this div but the problem is that taconite gives an undefined error because of the img-tag(and all other html tags) inside uf the title attribute. For those how don't know the c

[jQuery] Re: jQuery and RIA design

2008-07-13 Thread John CA
Hi Bil, Thank you for your thoughtful reply. And especially for your last sentence. That is a motto I will keep in mind. I would indeed manage the authenticity and authorization on the server side as well but felt the use of a framework was overkill. I will have to review the framework features

[jQuery] Re: AutoComplete and JSon not working as expected. Please, help me out.

2008-07-13 Thread Jörn Zaefferer
You still haven't posted a testpage. It doesn't have to be dynamic, a static file that delivers the content that your serverside usually works just as well. Jörn On Sun, Jul 13, 2008 at 2:45 PM, shapper <[EMAIL PROTECTED]> wrote: > > Please, anyone? > > On Jul 12, 6:46 pm, shapper <[EMAIL PROTEC

[jQuery] Re: jQuery and RIA design

2008-07-13 Thread Bil Corry
john6630 wrote on 7/12/2008 9:31 PM: I have studied the jqModal plug-in and Alexandre Plennevaux's tutorial on using this with an IFrame. It seems to me, I can emmulate my windows programming approach using a main page with navigation which launches various other pages using jqModal and Ajax. I

[jQuery] Re: BlockUI and ajaxForm

2008-07-13 Thread phipps_73
Apols for the delayed reply - I was working on another part of the project. Thanks for the help with this - it works perfectly!! Thanks again for a great set of plugins! Cheers, Dave On Jul 10, 4:33 pm, Mike Alsup <[EMAIL PROTECTED]> wrote: > > I have been using blockUI with ajaxForm for quite

[jQuery] Re: jquery form multiple php variables

2008-07-13 Thread Mike Alsup
> > > How can i return more than 1 variable and specify what returns where? Hi Tom, Just build the json object in PHP using whatever post variables you need. For example, given the following form: You could echo back the three inputs like this:

[jQuery] Re: array method on a jQuery object: deleting, adding elements

2008-07-13 Thread Richard D. Worth
Add elements to jQuery object: http://docs.jquery.com/Traversing/add#expr Delete elements from jQuery object: http://docs.jquery.com/Traversing/not#expr You can also use .filter, but that's the inverse of .not. It's a little more powerful though in that you can provide an expression or a functi

[jQuery] Re: AutoComplete and JSon not working as expected. Please, help me out.

2008-07-13 Thread shapper
Please, anyone? On Jul 12, 6:46 pm, shapper <[EMAIL PROTECTED]> wrote: > Hi, > > I can upload the client part but I am generating my JSON using ASP.NET > MVC and the project is not finish so I can't upload it because it uses > a SQL server. > > Don't you have any idea what is going on? > > I set

[jQuery] [autocomplete] Scrolling: FF3 vs IE7

2008-07-13 Thread NA
IE7 ignores scrollHeight and adds a horizontal scrollbar. How can I get the same display in IE7 as I get in FF3?

[jQuery] jqmodal close on javascript event

2008-07-13 Thread oscarml
Hi, I want to close a modal window from a javascript event. In my case I have a grid, and when the user double clicks in one row I would like to close the modal window and fill some inputs in the page where it was opened. Is this possible?

[jQuery] Re: slideToggle flickering in Firefox (jQuery version 1.2.6)

2008-07-13 Thread Isaak Malik
This might be caused by one of your extensions, I'm using Firefox 3 and I do not have the flickering issue you're mentioning. Try to run your demo page with Firefox in safe mode and see if it the issue is gone, if it does find out which extension is the cause. On Sun, Jul 13, 2008 at 2:27 AM, [EM

[jQuery] Re: array method on a jQuery object: deleting, adding elements

2008-07-13 Thread wolf
> Check out the functions here, particularly under Filtering: > http://docs.jquery.com/Traversing thx. i am aware of those methods but can't see how i can "add this, delete that" element from a jQuery object using those. i gather that underlyingly jQuery is using some sort of Array object to mana

[jQuery] [autocomplete] Scrolling: FF3 vs IE7

2008-07-13 Thread NA
IE7 ignores scrollHeight and adds a horizontal scrollbar. How can I get the same display in IE7 as I get in FF3?

[jQuery] Re: IE7 can't accept marginRight property

2008-07-13 Thread SM
maybe try 15 (number) instead of "15px" (string)? i am using marginRight with animate and it works in FF, Safari, and IE7. I'm using a number instead of a string as the value. On Jul 12, 5:22 pm, Paul <[EMAIL PROTECTED]> wrote: > Hi all, > I was just wondering if anyone's come across this issue

[jQuery] Re: jQuery Validation Error

2008-07-13 Thread Jörn Zaefferer
I can't see any obvious error in your code. Could you upload a testpage and provide the link? Jörn On Sun, Jul 13, 2008 at 2:45 AM, Sam Washburn <[EMAIL PROTECTED]> wrote: > > Hello all, > > I'm using jQuery 1.2.6 and Validation 1.3, and I'm getting an error > message in my firebug console when

[jQuery] Re: Superfish - strange behavior when including images in items

2008-07-13 Thread Joel Birch
Also, you need to remove the height declaration from the li elements. The size of the menu items should always be dictated by the anchor as this ensures that the hit area spans the full item. The li element will shrink-wrap it automatically. Joel Birch.

[jQuery] Re: Superfish - strange behavior when including images in items

2008-07-13 Thread Joel Birch
Hello, Glad you are liking Superfish. It seems to me that if you apply your item padding to the anchor instead of the li element everything will be huncky-dory. Padding should always go on the anchor - as per the official demos. You beat me to the toolbar/icon thing - a demo of that is planned.