[jQuery] Re: Realtime ajax response

2009-08-25 Thread Josip Lazic
On 24 kol, 15:22, Michael Lawson mjlaw...@us.ibm.com wrote: http://sourceforge.net/projects/easyshoutbox/files/easyshoutbox/Easy_... I don't think this is solution for my problem. After form is submited server must copyresize some pictures. Sometimes it'll last several seconds, but sometimes

[jQuery] Re: jQuery lightbox

2009-08-25 Thread Conrad Cheng
Did you declare the path correctly for jquery.js and lightbox.js? On Tue, Aug 25, 2009 at 1:32 PM, Ram... c.ramanjaney...@gmail.com wrote: Hi, Lightbox is not showing on prod site, but its working on local box and internet. Any idea what may be the problem? Thank you, Ramanjaneyulu

[jQuery] Re: Superfish menu help!

2009-08-25 Thread Steven Yang
hi sorry, please correct me if i am wrong or if i over looked at something i didnt see anything superfish includes or event jquery includes but instead i see mootools is the link a demo to your problem?

[jQuery] Re: Problem with Ajax Cross-Domain

2009-08-25 Thread Nick Fitzsimons
2009/8/24 Alexander Cabezas alexcabez...@gmail.com: When i try to make an ajax request like: $.get( http:localhost:3001/account/create.json, SignUp.onComplete ); I get the following error in the firebug ( Net ): OPTIONS - 405 Method Not Allowed Is it related to cross-domain request?.

[jQuery] IE as native droptarget

2009-08-25 Thread Mika Tuupola
You used to be able to use textarea as native droptarget even with IE. You could drag a link over textarea and the URL appeared when dropping. It seems during some point in last two months there has been an update to IE which prohibits this. Textarea is not a valid drop target for links

[jQuery] Re: Problem with js redirect when using getJSON

2009-08-25 Thread Grimori
Wonder if anyone tried to replicate this problem... It's pretty simple to and a great deal of bug if I'm not missing something. Thanks. On Aug 17, 6:14 pm, Grimori mihaigrig...@gmail.com wrote: Yes, I have tried that - nothing changes though... I'd really appreciate any other ideas.. Thanks!

[jQuery] Chaining jQuery AJAX

2009-08-25 Thread pascal.nauj...@googlemail.com
Hi Group, is there a possibility to chain AJAX Requests? By now i have 5 AJAX Functions where one calls the next (Button Click - 1 - 2 - 3 - 4 - 5 - Finish) My main problem is that i have to wait about 10 seconds before the 3. function calls the 4. When i use sT1 =

[jQuery] Re: Problem with js redirect when using getJSON

2009-08-25 Thread Liam Potter
What about window.location.href='http://site2.example.com/'; Grimori wrote: Wonder if anyone tried to replicate this problem... It's pretty simple to and a great deal of bug if I'm not missing something. Thanks. On Aug 17, 6:14 pm, Grimori mihaigrig...@gmail.com wrote: Yes, I have

[jQuery] Re: Chaining jQuery AJAX

2009-08-25 Thread Liam Potter
A simple way of doing it would be to use the success callback of each request. pascal.nauj...@googlemail.com wrote: Hi Group, is there a possibility to chain AJAX Requests? By now i have 5 AJAX Functions where one calls the next (Button Click - 1 - 2 - 3 - 4 - 5 - Finish) My

[jQuery] Getting XML info problem

2009-08-25 Thread ximo wallas
I find it really sad that jquery doesn't have a oficial forum out there... My question is posted in this one, I can't post it here cause the HTML inside will blow the e-mail: http://www.jqueryhelp.com/viewtopic.php?t=3616 Can somebody help me with this, I'm really stuck...

[jQuery] Re: Getting XML info problem

2009-08-25 Thread Dhruva Sagar
In your code, did you try and do an alert(xml) inside the success handler function (xml) to see if its getting the right content? Thanks Regards, Dhruva Sagar. Pablo Picassohttp://www.brainyquote.com/quotes/authors/p/pablo_picasso.html - Computers are useless. They can only give you answers.

[jQuery] AJAX and ampersand

2009-08-25 Thread Julijan Andjelic
Is there any was to prevent ampersand from splitting up the passed data? For example if my data looks like: This is some textblah blah If I pass it as data it will get split up at : This is some text blah blah Any solutions?

[jQuery] AJAX and ampersand

2009-08-25 Thread Julijan Andjelic
Is there any way to prevent ampersand from splitting up the passed data? For example if my data looks like: This is some textblah blah If I pass it as data it will get split up at : This is some text blah blah Any solutions?

[jQuery] Re: AJAX and ampersand

2009-08-25 Thread Dhruva Sagar
Perhaps you should use amp; instead of a plain .You can always replace it back with after you have got the data if you really need. Thanks Regards, Dhruva Sagar. Samuel Goldwynhttp://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html - I'm willing to admit that I may not always be

[jQuery] Re: AJAX and ampersand

2009-08-25 Thread Liam Potter
You need to url encode it, or just replace it with %26 Julijan Andjelic wrote: Is there any was to prevent ampersand from splitting up the passed data? For example if my data looks like: This is some textblah blah If I pass it as data it will get split up at : This is some text blah blah

[jQuery] Re: AJAX and ampersand

2009-08-25 Thread Julijan Andjelic
It will again split up the data at since amp; also contains the ampersand... In that case I would get: This is some text amp;blah blah On Aug 25, 12:13 pm, Dhruva Sagar dhruva.sa...@gmail.com wrote: Perhaps you should use amp; instead of a plain .You can always replace it back with after you

[jQuery] Re: AJAX and ampersand

2009-08-25 Thread Dhruva Sagar
Your right, its my mistake, I realized only after I saw Liam Potter's mail.You need to url encode it just as he said or replace it with %26, again just as Liam Potter said. Thanks Regards, Dhruva Sagar. Joan Crawfordhttp://www.brainyquote.com/quotes/authors/j/joan_crawford.html - I, Joan

[jQuery] Re: Problem with Ajax Cross-Domain

2009-08-25 Thread Liam Byrne
Shouldn't it be http://localhost ? i.e. http[slash][slash]localhost L Alexander Cabezas wrote: Hi. When i try to make an ajax request like: $.get( http:localhost:3001/account/create.json, SignUp.onComplete ); I get the following error in the firebug ( Net ): OPTIONS - 405 Method Not

[jQuery] Re: Problem with Ajax Cross-Domain

2009-08-25 Thread Dhruva Sagar
LOL! I never saw that Thanks Regards, Dhruva Sagar. Ogden Nash http://www.brainyquote.com/quotes/authors/o/ogden_nash.html - The trouble with a kitten is that when it grows up, it's always a cat. On Tue, Aug 25, 2009 at 3:51 PM, Liam Byrne l...@onsight.ie wrote: Shouldn't it be

[jQuery] Re: Flash effect with show/hide

2009-08-25 Thread Liam Byrne
Use hoverIntent instead of hover - it's child-friendly in this regard L guidebook wrote: Hello, (Sorry for my english, it isn't my native language.) I would want to show a div (the information about the song) when the visitor hover on a cover art on a radio website but this div overlap the

[jQuery] Re: Advice clone and live

2009-08-25 Thread Julien
On 25 août, 01:56, James james.gp@gmail.com wrote: clone(true) should do the trick. Though before there was a bug with this function where the events would not be cloned (in IE, I think). I don't know if that issues still exists, but try it out.

[jQuery] Re: Getting XML info problem

2009-08-25 Thread Peter Edwards
Your code suffers from asynchronousitis. You call the ajax request, but alert the total before the response can alter the variable. Try doing it in the success callback as the previous poster suggested and you will get the correct value: var total = 0; function readXML(section) {

[jQuery] Re: Flash effect with show/hide

2009-08-25 Thread guidebook
Thanks for your help:) I have another problem though. The event is only fired twice. You can view the page here : http://www.best-radio.net/index.php The caption must appear for five seconds when you hover a cover art and then disappear. But it only works twice. Anyone have an idea? On Aug 25,

[jQuery] Re: App like hangman

2009-08-25 Thread Boris Trivic
Yeah, sure, it imposible to convert object to string, object has methods and properties for that what I want. Wheathever, thanks a lot Brett one more time, you saved me. I finished a main part of project, there is still some little stufs to fix and correct. You can take a look on next link, if

[jQuery] Re: App like hangman

2009-08-25 Thread Boris Trivic
omg! I just opened it in Opera (Linux) and there is some kind of bug or what? Instead revert to original location, chars returns about 100-150px right... Can someone take a look and check if same problem occurs? Maybe I shoult report it to jQuery dev team? On Aug 25, 7:00 pm, Boris Trivic

[jQuery] [Validate]: Help with groups of checkboxes

2009-08-25 Thread Gordon
I've been struggling with this for a couple of days now. I'm building pages with tables containing checkboxes. Each row of the table represents a grouping of checkboxes, The rows are generated in a PHP loop and have the format: trtdinput type=checkbox name=question[row_number]

[jQuery] Converting rows into columns

2009-08-25 Thread Anush Shetty
I am displaying a few fields in a table as below table trtdfield1/td/tr trtdfield2/td/tr trtdfield3/td/tr trtdfield4/td/tr trtdfield5/td/tr /table I have a link to append a new table with the same fields. What I would like to do is when I click on Append new table link, I would

[jQuery] Re: Superfish menu help!

2009-08-25 Thread Charlie
took a quick look but there is no superfish related script ( the plugin file or call to initiate )or css file in head of page so you've either disabled in Joomla, or not installed it properly as joomla extension can't offer much help for either of above Dinney wrote: Hi, I am trying to

[jQuery] Re: jCarousel Appears Vertical then Horizontal

2009-08-25 Thread Charlie
very likely something's wrong in css, further guessing would be futile, link? Sparky12 wrote: Still got this problem ? Anyone else had any luck with it ?

[jQuery] Re: Passing variables to .click

2009-08-25 Thread AMP
Good one, Thanks On Aug 24, 4:02 pm, James james.gp@gmail.com wrote: Since region is not a valid HTML attribute, other ways is to set an ID on the element and use that as a reference to data stored elsewhere (e.g. a Javascript array or object). Depending on whether you have a lot of data

[jQuery] Re: get the hover color of a link

2009-08-25 Thread Satyakaran
I think you need to change your approach. :hover is not set-able by jquery . I tried this script function hover1() { var h = $(':hover', '.test'); $.each( h, function( intIndex, intVal ){ alert($(this).css('color')) } ) } /script div class=test a

[jQuery] Re: [treeview] Can I apply classes to async trees??

2009-08-25 Thread nsbk
Thanks!! got it working... On 24 ago, 13:49, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: You can use the classes property in the JSON response. These are added to each node. Jörn On Mon, Aug 24, 2009 at 12:12 PM, nsbkpedro...@gmail.com wrote: Hi! I'm currently working on a

[jQuery] Re: how to query for words with special (UTF-8 encoded) characters?

2009-08-25 Thread Adriano Varoli Piazza
On 24 ago, 17:46, Adriano Varoli Piazza mora...@gmail.com wrote: I'd like to bump this up. I'm trying to implement a dynamic form, and I need to query for words containing (in this particular case) ñ. Example: I want to query for the city 'Añatuya'. - typing in 'aña' doesn't find it. -

[jQuery] Re: Converting rows into columns

2009-08-25 Thread Mauricio (Maujor) Samy Silva
I've provided a possible solution. It is hosted at: http://jsbin.com/avowa/ http://jsbin.com/avowa/edit Maurício -Mensagem Original- De: Anush Shetty Para: jquery-en@googlegroups.com Enviada em: terça-feira, 25 de agosto de 2009 08:39 Assunto: [jQuery] Converting rows into

[jQuery] Re: Callback Not Working

2009-08-25 Thread GLSmyth
Aaron - Thanks so much, that works like a champ. I never thought of the fact that the this pointer was changing context. Thanks so much for the code and the explanation, that knowledge is very helpful. Cheers - george On Aug 24, 7:00 pm, Aaron Gundel aaron.gun...@gmail.com wrote: Hi

[jQuery] Re: jCarousel Appears Vertical then Horizontal

2009-08-25 Thread amuhlou
Assuming your carousel container name is something like div id=carousel Try setting something in your main CSS like: #carousel ul li { float: left; width: 75px; /*or whatever the width of your items is*/ height:75px; /*or whatever the height of your items is*/ } On Aug 25, 11:55 

[jQuery] Re: not working in IE6

2009-08-25 Thread MorningZ
Can you elaborate on what part doesn't work? Assigning the title tag? The wiring up of the tool tip? And you realize the the tooltip plugin goes after the selected object's title parameter, right? Your each() loop assigns the title to the option's, but your .tooltip() call is on the select,

[jQuery] Re: not working in IE6

2009-08-25 Thread Nitin Gautam
Then how this working in Firefox ? and how to call on options? On Aug 25, 6:13 pm, MorningZ morni...@gmail.com wrote: Can you elaborate on what part doesn't work? Assigning the title tag? The wiring up of the tool tip? And you realize the the tooltip plugin goes after the selected

[jQuery] Re: not working in IE6

2009-08-25 Thread MorningZ
You're fighting a big uphill battle thinking it works in FF, it should work in IE.x More than likely, IE6 has zero support/knowledge of what to do with a title attribute on an option tag On Aug 25, 9:33 am, Nitin Gautam gautam.ni...@gmail.com wrote: Then how this working in Firefox ? and how

[jQuery] Re: Realtime ajax response

2009-08-25 Thread bram
ob_start(); foreach ($foo as $bar) { resizeImage(); echo Resizing image  $bar; ob_flush; flush(); } This way user will get response everytime image get resized. Can I achive this with ajax and div? A more 'ajax approach' would be to resize your images individually as they are

[jQuery] Re: Jquery treeview jquery accordion

2009-08-25 Thread andrerav
On Aug 23, 4:02 pm, serdartu serda...@gmail.com wrote: When i used jquery treeview plugin inside accordion plugin treeview styles not working? Best Regards I'm having the same problem. Anyone know any workarounds for this? -Andreas

[jQuery] Get the input value of ANY element p tag

2009-08-25 Thread arysal...@hotmail.com
Hi Guys, I am having difficulty getting the value of a specific value contained in a p tag. What is happening is that it retrieves the value of the first p tag value and not the on the user clicks. What I need is to retieve the value from the p tag the user click. Snippet code [BEGIN]:

[jQuery] Re: [validate] problem of defining custom rules

2009-08-25 Thread Raju
try this , input id=firstname name=firstname minlength=2 / Warm Regards, Mari Raj K, Bangalore +91 9740765135 On Tue, Aug 25, 2009 at 11:26 AM, david michaelg...@gmail.com wrote: i played with the example.html from jquery.validate 1.55 and wanted to make a custom rule firstname that is

[jQuery] [autocomplete 1.1] extend callback

2009-08-25 Thread steki
hi, i use the extraParams function to retrieve information from the current autocomplete control /* tabellenname aus input.name ermitteln, z.b. edit0_kontakt_id- kontakte */ extraParams: { tbl: function(elem) {

[jQuery] Re: Using jQuery Validation (validate), are there any events when a remote validation call is made

2009-08-25 Thread MrBuBBLs
Hi andypike, I'm on the same stuff, and I don't know but this might help : http://enricofoschi.wordpress.com/2009/07/04/twitter-style-suggestion-and-validation-boxes-for-jquery/ On 13 août, 00:42, andypike andy.pike.m...@googlemail.com wrote: Hi all, I am preparing a form and would like to

[jQuery] how to use jcarousel and fancybox

2009-08-25 Thread dough
I can't use both plugins. I have: $(document).ready(function(){ $('#mycarousel').jcarousel({ itemLoadCallback: mycarousel_itemLoadCallback }); $(.photos).fancybox({ //call via menu 'frameWidth': 450,

[jQuery] lost events

2009-08-25 Thread paolochiodi
I would like to know if is there some jquery known behaviour that cause the lost of events handlers (in particular in iframes)? I've a strange kind of problem. I've built a webapp composed of two iframe. First i load content in the first iframe. I add some event event handler using jquery to

[jQuery] Re: $.inArray optimisation

2009-08-25 Thread MorningZ
IMO, it doesn't belong in the core I think I read somewhere that a check for that usage will be in 1.3.3 core, but damned if I can find where I saw that stated On Aug 25, 9:59 am, KeeganWatkins mkeeganwatk...@gmail.com wrote: it does not work in every browser. the purpose of jQuery and

[jQuery] [autocomplete]

2009-08-25 Thread Mahmoud wagdy
we need to add a virtual keyboard to the same textbox which uses yours autocomplete plugin. is this applicable with your autocomplete plugin

[jQuery] Re: $.inArray optimisation

2009-08-25 Thread KeeganWatkins
it does not work in every browser. the purpose of jQuery and similar libraries is to streamline development and create a (mostly) consistent foundation to build on, regardless of browser. if you're interested in gaining some performance, or just using the latest JS features, i'd suggest

[jQuery] Hover Area - Change image

2009-08-25 Thread wheatstraw
What I want to have happen is when you hover over the li it: 1) allows you to click the who area (this works) 2) The image swap. Right now the image will only swap when hovering over the image not the rest of the li. Any help would be appreciated! $(document).ready(function(){

[jQuery] Re: There is no group named jquery-ui.

2009-08-25 Thread Fontzter
Yes, it is down. I just found this thread: http://groups.google.com/group/jquery-ui-dev/browse_thread/thread/3e12d8836f6879a2?hl=en On Aug 25, 10:42 am, Fontzter dmfo...@gmail.com wrote: Anyone else getting this when they try to visit the google group for jQueryUI?

[jQuery] Re: setData and extraParams problem

2009-08-25 Thread pankaj sharma
Thanks Jorn for your response. I have recently working on this. I could not found the exact version from the file jquery.autocomplete.js . At the top of the .js its as follows. What is the way to get the version? /* * jQuery UI Autocomplete @VERSION * * Copyright (c) 2007, 2008 Dylan Verheul,

[jQuery] Re: Get the input value of ANY element p tag

2009-08-25 Thread Paolo Chiodi
Your code don't work because with $(#property_links) you retreive every hidden input with that id, then val() return value only for the first. You have to access only the correct hidden input: you can use a find that search for a query in all the children of the clicked p You have to replace

[jQuery] There is no group named jquery-ui.

2009-08-25 Thread Fontzter
Anyone else getting this when they try to visit the google group for jQueryUI?

[jQuery] Re: $.ajax calls in firefox doesn't work

2009-08-25 Thread Ashley
I think what James suggested is the right way to go: switch to GET. It looks like you're sending no data in your POST. That is a security violation under some server set-ups and might just cause an error under others. Otherwise try at least a dummy marker { data:1 } or something into your POST

[jQuery] Re: Hover Area - Change image

2009-08-25 Thread Liam Potter
It's because you have targeted the image as the hover area rather then the li, use this instead $(li.clickable).hover(function() { $(this).children(img).attr(src, $(this).attr(src).split(_off).join(_over)); }, function() { $(this).children(img).attr(src,

[jQuery] how to pass php variable with load?

2009-08-25 Thread Enoch
I am trying to load a php page into DIV B when DIV A is dropped on it. My question is: how do I pass a variable with my jquery load. this is what I have: .bind( drop, function( event ){ $( this ).load(somefile.php?rec=+event.dragDiv.title+); } everything works fine when I remove the

[jQuery] Re: Loading jQuery - Need a black screen while it loads

2009-08-25 Thread Nathan Bubna
On Mon, Aug 24, 2009 at 10:21 PM, scotthaslehurstscotthaslehu...@gmail.com wrote: Hi, That's perfect. Thanks. Just to follow up. Is it enough to use just the jquery.loading.js? Or must I also source the other scripts below that the demo uses? The documentation is not clear well, i'll

[jQuery] [validate] Help with groups of checkboxes

2009-08-25 Thread Gordon
Sorry, incorrect title

[jQuery] Re: loop/count

2009-08-25 Thread bombaru
OK... I figured something out to achieve the functionality I'm after. This will set the first span to active and then add/remove the active class when the user cycles through using the previous and next buttons. Since the carousel is a circular loop, I am then addressing the case when the user

[jQuery] JCarousellite: How do I alert the carousel's position?

2009-08-25 Thread noahT
Is there a way to echo the position of the carousel? I'd like to send it to a cookie, and use that to remember of the position of it so the user can back page to the place they left off, as someone on this list mentioned before.

[jQuery] Re: loop/count

2009-08-25 Thread bombaru
For some reason, jQuery 1.3 does not like the if statement in the code sample - else will never fire. This works fine as is in 1.2.6. Does anybody know what could be the culprit here? I'm assuming the if is always returning true, so the else never gets fired... I'm just not sure how to get

[jQuery] Re: Get the input value of ANY element p tag

2009-08-25 Thread ArySal
Hi Paolo, Thanks for the advice. I tried what you mentioned still it does not work, the error is slightly different but the result is pretty much the same. What do you mean By the way, it is not reccomanded to have more then one element with same id , could you recommend a tutorial or pointers

[jQuery] JQuery with Crystal Reports .Net 2.0

2009-08-25 Thread ND
Hello, Has anyone attempted using JQuery dialog to display crystal reports in .Net 2.0? Also, the crystal report viewer is within and AJAX update panel. We are trying to implement that and having nightmarish issues with printing and exporting the reports. If I use full postbacks from the report

[jQuery] Re: Get the input value of ANY element p tag

2009-08-25 Thread ArySal
Thanks Brett I will look into this On Aug 25, 6:41 pm, Brett Ritter swift...@swiftone.org wrote: On Tue, Aug 25, 2009 at 11:49 AM, ArySalaresh...@gmail.com wrote: What do you mean By the way, it is not reccomanded to have more then one element with same id , could you recommend a tutorial

[jQuery] Re: loop/count

2009-08-25 Thread Rick DeNatale
On Tue, Aug 25, 2009 at 12:53 PM, bombarubomb...@gmail.com wrote: For some reason, jQuery 1.3 does not like the if statement in the code sample - else will never fire.  This works fine as is in 1.2.6. Does anybody know what could be the culprit here?  I'm assuming the if is always returning

[jQuery] Authentication issue with ColdFusion and SiteMinder with SWFObject and jQuery

2009-08-25 Thread pixelwiz
Hello, I built a pretty cool admin tool which uses SWFUpload to do AJAX file uploading. However, while everything worked great in Development, once we added security to it, the file uploader doesn't work anymore. We use SiteMinder here, and it looks like somehow because the request is coming

[jQuery] Re: Get the input value of ANY element p tag

2009-08-25 Thread Brett Ritter
On Tue, Aug 25, 2009 at 11:49 AM, ArySalaresh...@gmail.com wrote: What do you mean By the way, it is not reccomanded to have more then one element with same id , could you recommend a tutorial or pointers where I can get this function working please HTML elements can have id attributes and

[jQuery] Re: Get the input value of ANY element p tag

2009-08-25 Thread Paolo Chiodi
What kind of error have you now? Have you tried to do alert(prop) to see if the value is correct? Paolo On Tue, Aug 25, 2009 at 5:49 PM, ArySalaresh...@gmail.com wrote: Hi Paolo, Thanks for the advice. I tried what you mentioned still it does not work, the error is slightly different but

[jQuery] Re: Get the input value of ANY element p tag

2009-08-25 Thread Paolo Chiodi
Another way is to alert($(this).find(#property_links).size()) to see how many dom elements you get with that selector Have you tried to use firebug to see the value of the hidden inputs? maybe also that the error was server side... Paolo On Tue, Aug 25, 2009 at 8:09 PM, Paolo

[jQuery] Re: jQuery selector for style attribute

2009-08-25 Thread Mauricio (Maujor) Samy Silva
Sintax for the selector is: $('img[style=overflow: auto; width: 356px; height: 100px;]') Maurício -Mensagem Original- De: John Para: jQuery (English) Enviada em: terça-feira, 25 de agosto de 2009 14:36 Assunto: [jQuery] jQuery selector for style attribute Hi, I want

[jQuery] Re: jQuery AJAX pulling styles

2009-08-25 Thread James
Can you grab the page in other non-styled data formats, such as XML or JSON? Otherwise, if HTML is your only option, you can use some kind of Javascript replace or regular expression to remove any STYLE and CLASS attributes. On Aug 25, 8:49 am, Donnie La Curan don.lacu...@gmail.com wrote: I'm

[jQuery] Re: .load() doesn't work on first call in FF3 and IE (But works in FF3.5)?

2009-08-25 Thread D A
All I can see is you're missing a closing single-quote (') after locatorResults.cfm. Oops. That's a typo on my part in the example. We found out that it's maybe not jQuery that's the issue here. When we run it on the server where we're actually returning content based on the value we're

[jQuery] Re: .load() doesn't work on first call in FF3 and IE (But works in FF3.5)?

2009-08-25 Thread D A
Here's the bit of jQuery we're using: $('#LocatorGoLink').fancybox({                        'hideOnContentClick': false,                        frameWidth: 660,                        frameHeight: 700,                        overlayOpacity: .6,                        padding: 0,          

[jQuery] (validate) hide label when empty

2009-08-25 Thread jckos
I'm trying to find the option that hides the default label tag if there is no message displayed in it. Can someone help? I want to display a message at the top of the form when the input fields are empty, but display no text message. Only specific fields have messages associated with them

[jQuery] JQuery Unable to Read Margins When Set to Auto?

2009-08-25 Thread phpn1b
I have a simple test page with a div where the left and right margins are set to auto. The div has a width and when viewed it's centered on the page. When I try to read the left or right margin with jQuery it's returned as 0px instead of auto. I'm trying to add a div to a page and set the new

[jQuery] How to cancel an AJAX request?

2009-08-25 Thread Hector Virgen
Hello, Is there a way to stop or cancel an ajax request on demand, similar to pressing stop in the browser? I would like to provide the user with a cancel button on a loading dialog that, when clicked, closes the dialog and cancels the ajax request. I have the dialog working (thanks to jQuery-UI)

[jQuery] Re: not working in IE6

2009-08-25 Thread James
And if the title attribute on the options tag is really the problem, you should consider using jQuery's data() functions instead. http://docs.jquery.com/Core/data On Aug 25, 3:56 am, MorningZ morni...@gmail.com wrote: You're fighting a big uphill battle thinking it works in FF, it should work

[jQuery] Re: Hover Area - Change image

2009-08-25 Thread wheatstraw
Thanks but it doesn't seem to work... li class=clickableimg src=http://localhost/wrt-demo/images/ projects/boxes/13_off.jpg alt=Abuja Master Plan / p class=entryTexta href=http://localhost/wrt-demo/projects/detail/ Abuja-Master-Plan/13Abuja Master Plan/a/p/li

[jQuery] Re: jQuery selector for style attribute

2009-08-25 Thread John
Thanks Maurício for your quick response. I have a program to automatically generate jQuery selectors based on some UI element attributes and seems your syntax is not always working. For example, 1) working: $('div:has(input[type=text][readonly=true], img [style=overflow: auto; width: 356px;

[jQuery] Re: jQuery selector for style attribute

2009-08-25 Thread James
Couldn't you just set another class for where you have that long style attribute? That'll make it so much nicer and less error prone for what you're trying to achieve. I'm not telling you that you need to remove the inline style, but just added another class on the element where you have the

[jQuery] Re: JQuery with Crystal Reports .Net 2.0

2009-08-25 Thread Jules
On the server side (CR XI), export the report to PDF and stream it to the client, much less problem than using CR viewer. On Aug 26, 3:06 am, ND desaid...@gmail.com wrote: Hello, Has anyone attempted using JQuery dialog to display crystal reports in .Net 2.0? Also, the crystal report viewer

[jQuery] Re: Variable in :eq() with jquery.calculation

2009-08-25 Thread Charlie
I might be off base here but your recalc function code looks like you are expecting a loop to occur through all of the $("input[name^=module-]") I don't think this will occur without using $.each or a "for" loop therefore you won't get any incrementation in "i". Also I've never seen "i=++",

[jQuery] Re: [autocomplete]

2009-08-25 Thread Jörn Zaefferer
What is a virtual keyboard? Jörn On Tue, Aug 25, 2009 at 2:43 PM, Mahmoud wagdyeng.mahmoud.wa...@gmail.com wrote: we need to add a virtual keyboard to the same textbox which uses yours autocomplete plugin. is this applicable with your autocomplete plugin

[jQuery] Re: Hover Area - Change image

2009-08-25 Thread amuhlou
children() only works for direct children of an element, so if your img is wrapped in an a, it won't find the right element. Try using find() instead: $(li.clickable).hover(function() { $(this).find(img).attr(src, $(this).attr(src).split (_off).join(_over)); }, function() {

[jQuery] Re: jQuery selector for style attribute

2009-08-25 Thread John
That may not be an option, at least now. The reason is that the jQuery selector is automatically generated by a framework, which may be rather random and difficult to set another class. The first thing is to get it work. As long as the syntax is correct, it should work fine, right? I care more

[jQuery] validate classbased via ajax request

2009-08-25 Thread Jan Limpens
Hello, my forms are all css class based validated. Now I need to check some on them serverside, so I overload the regular validation methods (or is there a better way?). jQuery.validator.addMethod(date, function(value, element) { var preValid = this.optional(element) ||

[jQuery] pagination plugin

2009-08-25 Thread finneycanhelp
Hi, http://plugins.jquery.com/project/pagination mentions an IE 7 issue. Are people successfully using IE7 with this plugin? Thanks. -- Michael Finney - Always Striving To Serve You Better Every Day http://www.SmilingSoftwareSolutions.com

[jQuery] Event Not Triggering On External JS Files

2009-08-25 Thread Greg
I built a small JavaScript file that does some HTML and CSS manipulation when you hover over any tag with a certain class. It works great when running on the same server, but if I try to use the JS as an external script, the hover event isn't triggering. Here is my external JS file code:

[jQuery] Re: Post PHP object via AJAX

2009-08-25 Thread James
What do you mean a PHP object? You can't pass a PHP object in Javascript...Javascript is Javascript, not PHP. You can pass in a Javascript object (JSON format) to jQuery's ajax() and it'll convert accordingly for you depending on whether you're doing a GET or POST. This below, is the same way to

[jQuery] Re: Event Not Triggering On External JS Files

2009-08-25 Thread James
Does it work if you put your jquery library at the top? (In the head) On Aug 25, 12:31 pm, Greg greg.heid...@gmail.com wrote: I built a small JavaScript file that does some HTML and CSS manipulation when you hover over any tag with a certain class.  It works great when running on the same

[jQuery] Re: $.inArray optimisation

2009-08-25 Thread KeeganWatkins
@morningz - it wouldn't surprise me. Nonetheless, if it were up to me, (which it's not), jQuery wouldn't use it until it becomes standardized. Prototype, MooTools and other competitors all augment native data types, and it drives me nuts. Respect for the environment is one of the features of

[jQuery] Re: not working in IE6

2009-08-25 Thread Nitin Gautam
I tried replacing attr with data but still not working with IE :(( in FF this is working fine $(select option).attr( title, ); with $(select option).data( title, ); For IE i also tried the following $(select option).tooltip({left: 25}); instead of $(select).tooltip ({left: 25}); but still

[jQuery] Re: Event Not Triggering On External JS Files

2009-08-25 Thread Greg
@Meroe: That was kind of pseudo-code so I checked anyway and there's no spaces in the actual code. @James: No, it doesn't work if I put the jQuery script tag in the head. I was wondering if it had something to do with preventing XSS? There is an ajax call to the button.js's domain (which

[jQuery] Re: How to cancel an AJAX request?

2009-08-25 Thread rupak mandal
Hi Hector, you have to use abort function. go through this link http://www.protofunc.com/scripts/jquery/ajaxManager/ Thanks Rupak On Wed, Aug 26, 2009 at 2:25 AM, Hector Virgen djvir...@gmail.com wrote: Hello, Is there a way to stop or cancel an ajax request on demand, similar to pressing

[jQuery] Is there a jQuery way to sort span-elements?

2009-08-25 Thread Audrey Lee
Hello, Assume I have 3 span-elements: div id=names span id=s1Fred/span span id=s2Alan/span span id=s3Sally/span /div Is there a jQuery way to sort them so I get this: div id=names span id=s2Alan/span span id=s1Fred/span span id=s3Sally/span /div ?? -Audrey

[jQuery] Image inside script

2009-08-25 Thread Fabio
Hi all , This is my first post . please help me on one thing :) {$(.+errId).attr(style,display: inline; color: red);$ (.+errId).attr()$(.+errId).html(nbsp;Invalid Character. Numerals only.);} Now i want to add a image at the beginning of this. Its a small close button how do i append . please

[jQuery] This will cause an infinite loop. Aborting. on carousels that are initialized as hidden

2009-08-25 Thread Nicholas
To see the issue: Create a horizontal carousel inside a display: none container. Make sure it has zero margins if you want to see the issue in browsers other than Safari. Don't worry about the zero margins in Safari, it'll break anyway. The pos method will check the dimensions of the elements in