[jQuery] Google map throwing exception

2009-10-01 Thread Mohd.Tareq
Hi All, I am trying google map with JQuery Model window. I have written some script to view google map with model window. Bellow steps are 1 - Click on link, (onclick event I am calling a javascript function to show google map with model window) function showGoogleMap(id,lat,long){ try{

[jQuery] Re: JQuery sliding div issue

2009-10-01 Thread sneaks
i didnt test your code but if you say it works then i think you just need a resize listener: $(window).resize(function(){ // do stuff }); cheers j On Sep 30, 12:23 pm, jpearson311 jpearson...@hotmail.com wrote: Hi all.  JQuery noob here.  I'm building a site right now that has a left

[jQuery] Re: Form Validation

2009-10-01 Thread Jörn Zaefferer
Take a look at the errorPlacement option, documented here: http://docs.jquery.com/Plugins/Validation/validate#toptions Jörn On Thu, Oct 1, 2009 at 12:53 AM, Samuurai djbe...@gmail.com wrote: Hi, I have got some very rudimentary validation working with JQuery validation, however, by

[jQuery] Re: superfish

2009-10-01 Thread glimbeek
I don't know for sure but I couldn't see why not... Search this group or start your own topic. On 30 sep, 16:09, sanni46 susanne.goed...@ozlo.de wrote: Hallo, I would like to have two vertical superfish-menu-modules in one template on the left hand side.. I tried it, the first menu with

[jQuery] Re: superfish

2009-10-01 Thread glimbeek
Thanks for the reply. I do have other code on my page but if I remove it all nothing changes, if I remove the tracking code the error disappears... I'll google some more :/ On 29 sep, 19:09, Nalum mallon.l...@gmail.com wrote: Goolge tracking code is the cause of that error, I've come across

[jQuery] How to manipulate an object containaing HTML

2009-10-01 Thread Julien
Hello, i'm trying to find out how to edit (manipulate DOM) of an HTML ajax result. What i have is the following : $('a').live('click',function(e){ var link = this; $.ajax({ url: testAjax.html, cache: false, data: 'href='+this.href, success: function(html){

[jQuery] Re: Callback Function had a look but don't get it

2009-10-01 Thread Jon Banner
the link should have it's normal state and actions when you don't return false, as in the example code you provided. If you want to add a call back to fire after the fade out: $(function() { // document is ready for load $('a').click(function() {

[jQuery] Simple accordion sooo many which one?

2009-10-01 Thread jessie
Hi I would love to implement the *accordion menu* The menu is dynamic and its already there i'm using css to style. So, i saw quite a few accordions but none that don't have panels... in other words i'd like the same function without the coloured panels. Which is the best *plugin to use for

[jQuery] Underline links of dynamic HTML introduced in the DOM

2009-10-01 Thread SmiThiCo
Hi all, Till now I din not found and an clean solution for my problem. I have a button in my web site underline links that changes all the links and affects its text decoration to 'underline'. From this point all the links of the website should be underline. The problem is that I can only make

[jQuery] Superfish issues in ie6 and 7

2009-10-01 Thread neonwiredpixels
In ie6 and 7 only i have issues with the menus closing while the mouse is over them at certain points as if there is a gap in between the list items. This makes using the menu impossible as they almost immediately close. Gaps in vertical lists is a known issue with ie, does anyone know is this is

[jQuery] Re: TableSorter and colspans

2009-10-01 Thread Konstantin K
Hi Christian, I was wondering if you know to when expect the next version that supports colspan? I'm using your great plugin, but need colspan support. Thanks, Konstantin On Sep 7, 4:45 am, Christian Bach christian.b...@polyester.se wrote: Hi Mike. Tablesorter used to support colspan until

[jQuery] Can't load a page from a loaded page.

2009-10-01 Thread smwithdm
I'm trying to load a page using the .load(url) from an already loaded page, but nothing responds. Below is a simple sample page created to show what I want to accomplish. Also, I'm using JQuery 1.3. - index.html - html head script type=text/javascript src=jquery.js/script script

[jQuery] Superfish customization: change display height of submenu

2009-10-01 Thread Jacco
Hi All, I am new to jQuery Superfish, but it seemd like the most logical way to do a quick prototype for a menusystem. I am trying to create a verertical menu system (using superfish-vertical). However, I'd like to tweak the behaviour of the submenu, and have been unsuccessful so far. Here's

[jQuery] Re: Form Validation

2009-10-01 Thread Samuurai
Thanks Jorn I'm looking at that, however I think I've devised another method. I need this code to be run on each offending field: $('[for=name]').parents('.grid-26') // for=name is the selctor for the label. .prepend('pPlease write your real name/p')

[jQuery] Re: Underline links of dynamic HTML introduced in the DOM

2009-10-01 Thread Jonathan Vanherpe (T T NV)
SmiThiCo wrote: Hi all, Till now I din not found and an clean solution for my problem. I have a button in my web site underline links that changes all the links and affects its text decoration to 'underline'. From this point all the links of the website should be underline. The problem is

[jQuery] Re: Underline links of dynamic HTML introduced in the DOM

2009-10-01 Thread Jonathan Vanherpe (T T NV)
SmiThiCo wrote: Hi all, Till now I din not found and an clean solution for my problem. I have a button in my web site underline links that changes all the links and affects its text decoration to 'underline'. From this point all the links of the website should be underline. The problem is

[jQuery] Difference between Accordion Widget UI and Accordion Plugin?

2009-10-01 Thread jessie
Can someone please explain to me the difference between the two? I just finished an online tutorial on Accordian Widget UI and it looked quite simple. Thanks Jess

[jQuery] Re: compare variables

2009-10-01 Thread Jon Banner
make friends with regular expressions. http://en.wikipedia.org/wiki/Regular_expression 2009/9/30 Poloman bigtrouble1...@gmail.com I have varA = com and varB=com55 or ton2 or son1.9 or whatever values... I want to do a comparison if the prefix of varB = com, which is varA, then do

[jQuery] Re: Difference between Accordion Widget UI and Accordion Plugin?

2009-10-01 Thread Richard D. Worth
When you say 'Accordion Widget UI' do you mean jQuery UI Accordion? Also, a link to the online tutorial might help us identify at least one that you're trying to compare. - Richard On Thu, Oct 1, 2009 at 7:34 AM, jessie mi...@optusnet.com.au wrote: Can someone please explain to me the

[jQuery] Re: Difference between Accordion Widget UI and Accordion Plugin?

2009-10-01 Thread jessie
Yes the 'jQuery UI Accordion... here is the link http://www.practicalecommerce.com/articles/1213-Web-Design-Tips-jQuery-UI-Accordion-Widget The problem now is that even though i like the functionality i can't seem to incorporate it to my template. :( I have an ecommerce site driven by php and

[jQuery] Re: Simple accordion sooo many which one?

2009-10-01 Thread jessie
Sorry i should add i'm using CubeCart as my platform for ecommerce On Oct 1, 10:05 pm, Richard D. Worth rdwo...@gmail.com wrote: You can use the jQuery UI Accordion (http://jqueryui.com/demos/accordion/) Here's a sample of it without any styling: http://jsbin.com/owose The html and

[jQuery] Re: Simple accordion sooo many which one?

2009-10-01 Thread Richard D. Worth
You can use the jQuery UI Accordion ( http://jqueryui.com/demos/accordion/ ) Here's a sample of it without any styling: http://jsbin.com/owose The html and javascript is the same. It's just that I've only included the base part of a jQuery UI theme, that includes functional/layout css, but no

[jQuery] Re: Difference between Accordion Widget UI and Accordion Plugin?

2009-10-01 Thread Richard D. Worth
Ok, in that case there's a dedicated list for help with jQuery UI plugins: http://groups.google.com/group/jquery-ui http://groups.google.com/group/jquery-uiSorry to have you post twice, but that way it'll reach the right people and the answer (once given) will be in the right archive. Thanks. -

[jQuery] Re: Simple accordion sooo many which one?

2009-10-01 Thread Richard D. Worth
If you decide to use it and have any further questions about jQuery UI Accordion or jQuery UI themes and styling, please ask on http://groups.google.com/group/jquery-ui Thanks. http://groups.google.com/group/jquery-ui- Richard On Thu, Oct 1, 2009 at 8:05 AM, Richard D. Worth rdwo...@gmail.com

[jQuery] Re: Difference between Accordion Widget UI and Accordion Plugin?

2009-10-01 Thread jessie
Ok so i should post the whole thing there then? would they be able to help me incorporate the accordian menu with my cubecart template? Thank-you for your help :) JessOn Oct 1, 10:18 pm, Richard D. Worth rdwo...@gmail.com wrote: Ok, in that case there's a dedicated list for help with jQuery UI

[jQuery] Re: Difference between Accordion Widget UI and Accordion Plugin?

2009-10-01 Thread jessie
If i use an Accordian Plugin can someone please help me implement it into my cubecart template file? Thanks Jess On Oct 1, 10:23 pm, jessie mi...@optusnet.com.au wrote: Ok so i should post the whole thing there then? would they be able to help me incorporate the accordian menu with my

[jQuery] Re: Tablesorter problems

2009-10-01 Thread Jon Banner
Hi Mike, it looks as if you have copied and pasted some illegal characters in to your demo page. Try removing these and see if that helps. Best, Jon 2009/10/1 Mike michael.dimm...@virgin.net Is there no one that can help? On Sep 30, 4:26 pm, Mike michael.dimm...@virgin.net wrote: Hi I

[jQuery] Re: Can't load a page from a loaded page.

2009-10-01 Thread Chrazy
You have to use the live() event. So instead of: $(#clickme2).click(function(){ $(#mainview).load(page03.html); }); You write: $(#clickme2).live('click', function(){ $(#mainview).load(page03.html); }); Functions will just work with

[jQuery] Re: Problem with fade-effects and IE8

2009-10-01 Thread Jon Banner
What version of jQuery are you using? I have not had problems with IE8 using version 1.3.2, and i've just checked some sites that i've previously worked on using 1.2.6, and they don't seem to have any problems with fade in or fade out. Maybe you have a beta version of IE8? Jon 2009/9/30

[jQuery] Re: problem when using inside a popup

2009-10-01 Thread onyafriend
I have the same problem, autocomplete popup is shown back of dialog , how I can show on top? thanks On 21 sep, 14:54, Arun mailarunkuma...@gmail.com wrote: How did you manage to get it in dialog. Im using Jquery UI 1.7.2 dialog for me the auto suggest layer displays behind the modal dialog

[jQuery] Re: Superfish customization: change display height of submenu

2009-10-01 Thread Charlie
good plugins offer options to hook into events and superfish is one of those the submenus are all absolutely positioned to their parent . In superfish css look for the li:hover ul, sfHover ul etc that reposition the sub to top=0 when visible. When not visible it has top=-999em In Superfish

[jQuery] Re: problem when using inside a popup

2009-10-01 Thread onyafriend
I solved adding atribute z-index:1500 to my divs in jquery.autocomplet.css because Jquery UI Dialog put z-index between 1000 and 1005 thanks On 1 oct, 10:36, onyafriend ssinfo.compugr...@gmail.com wrote: I have the same problem, autocomplete popup is shown  back  of dialog , how I can show on

[jQuery] Re: Underline links of dynamic HTML introduced in the DOM

2009-10-01 Thread SmiThiCo
Thanks. I'll give it a try. I didn't tried this before because in the inner divs of the body I sometimes override the text decoration value. So in terms of css priority I not sure if this is going to work. But I'll tell you later. Thanks! On Oct 1, 1:11 pm, Jonathan Vanherpe (T T NV)

[jQuery] Re: How to manipulate an object containaing HTML

2009-10-01 Thread Cyril Lopez
2009/10/1 Julien tux...@gmail.com Hello, i'm trying to find out how to edit (manipulate DOM) of an HTML ajax result. returns rows of a table : tr td/td td/td /tr tr td/td td/td /tr What i would like to do is before appending to the table something like that :

[jQuery] show and hide div (please help me)

2009-10-01 Thread hamed7
body form id=form1 name=form1 method=post action= p label select name=select id=select /select /label /p p label select name=select2 id=select2 /select /label /p pnbsp;/p /formdiv please wait.../div /body i have this for example,and i want when

[jQuery] jquery ui modal -autocomplete popup

2009-10-01 Thread onyafriend
i have a jquery ui modal, there i have an automcomplete textbox, but the list is shown back from the modal window, and i can't see it, any way to put the autocmplete modal inside modal window? thanks

[jQuery] Re: How to manipulate an object containaing HTML

2009-10-01 Thread Charlie
you are trying to apply css to something that isn;t in the DOM. $.css() uses inline style attribute so if there is no html inline the attribute can't be applied can you add class name to html server side and use css to pad? if not you could add class to exisitng td's before insertion of new

[jQuery] Is it possible to use jQuery BlockUI inside a User Control in .NET ?

2009-10-01 Thread Renan
Hello buddys I am a ASP.NET developer and I would like to use the jQuery BlockUI inside a generic control, designed to show a popup (with javascript and CSS effects). My problem is to disable (key tab, enter and mouse clicks) the parent window (parent element) (my control is inside the page and

[jQuery] Urgent: Modal Dialog not working in Mozilla

2009-10-01 Thread Debajyoti
Hi, I am using jquery modal dialog. It is working fine in IE 7 but not in Mozilla. Do i have to add anything to it. In mozilla, the pop up is dissapearing after sometime(4-5 secs). Can any one help me in this as this is quite urgent Thanks, Debajyoti

[jQuery] Skipping a slide with Cycle Plugin

2009-10-01 Thread Garrison Locke
Does anyone know how to disable a slide or skip one based on some dynamic piece of information? For example, I want to skip a particular slide based on the time of day.

[jQuery] jquery carousel with blockUI

2009-10-01 Thread Pedro Bras
I have a page with one item and when i click in the item i simple open a detail page in a block ui of that item! But now i want to show also in the block ui one carousel with a list of items and whe it clicked one of that items should change the text of the blockui. There is any idea how i can

[jQuery] Re: Trying to match just the first descendent in each tree of descendents

2009-10-01 Thread Karl Swedberg
Actually, it looks a little more complicated than that. Since the OP isn't using classes, .widget isn't going to work. Andrew, I'm a little surprised your initial selector -- $ ('[widget]:not([widget] [widget])') -- is working correctly. I'd probably do it a little differently:

[jQuery] Re: How to manipulate an object containaing HTML

2009-10-01 Thread Julien
On 1 oct, 16:26, Charlie charlie...@gmail.com wrote: you are trying to apply css to something that isn;t in  the DOM.  $.css() uses inline style attribute so if there is no html inline the attribute can't be applied can you add class name to html server side and use css to pad? if not you

[jQuery] Re: Superfish issues in ie6 and 7

2009-10-01 Thread Charlie
i've found if the li doesn't have a background it does what you are describing in IE, try adding background even if it has to be a transparent gif (gif vs png to avoid IE6 png issues) i'm sure others may have solutions but has worked for me in past neonwiredpixels wrote: In ie6 and 7

[jQuery] Selectors .each

2009-10-01 Thread Dave Maharaj :: WidePixels.com
I am trying to add a class to the first dl item each time it appears inside set_list $('.set_list').each(function(){ $('dl.set:first').addClass('first'); }); This appers to only add 'first' to the first dl and not each one in each set_list I have my code like below..i simply want to add

[jQuery] Re: Underline links of dynamic HTML introduced in the DOM

2009-10-01 Thread Jonathan Vanherpe (T T NV)
well, if you don't underline your links, you only really needed to define text-decoration: none once in your css. If you add .underlinelinks before whatever the selector you used for that, it will be overridden in most cases. so your css would be something like: #content a {

[jQuery] Re: Form Validation

2009-10-01 Thread Samuurai
I have just realised that you were the coder behind this - My apologies..I didn't realise the flexibility of errorPlacement. I got it working to a certain degree.. here's my code: ,errorPlacement: function(error,element){

[jQuery] jQuery is not a function

2009-10-01 Thread Eirtaza Rizvi
i am getting this error while i am using a plug in on word press. please tell me if you know any possible solution!! Regards, EjjA

[jQuery] Re: Form Validation

2009-10-01 Thread Jörn Zaefferer
Take a look at some of the demos, eg. the Remember The Milk demo: http://jquery.bassistance.de/validate/demo/milk/ You can customize the error further with the errorElement and errorClass options. The resulting element needs to have a for-attribute pointing to the associated input, otherwise the

[jQuery] (autocomplete) - possible bug

2009-10-01 Thread Machi
Hi people, first off thanks for the terrific job done with the autocomplete pluggin. However I think I found a bug: I have an input text box with enabled autocomplete defined as follows: $('#hostsTextBox').autocomplete(jsonHostsArray, { autoFill : true, multiple : true,

[jQuery] Form Validation errorplacement

2009-10-01 Thread slimshady
please read http://codepad.org/MBcrgq7U

[jQuery] (autocomplete) - avoidRepeated option?

2009-10-01 Thread Machi
Hi! I wondered if there were any plans to add another option, as stated in the subject avoidRepeated which would work when option multiple is set to true. The thing is now I can choose a same element multiple times, which makes no sense according to my business logic. I've been trying to imagine

[jQuery] Re: Can't load a page from a loaded page.

2009-10-01 Thread smwithdm
Chrazy, Thank you for your great info! I changed it as you said but didn't work. I so looked at the api reference and did some homework and changed it to the following and worked all fine! I just had to change all load() to live()s. Once again, thank you and thank you to JQuery! -

[jQuery] Re: jQuery is not a function

2009-10-01 Thread MorningZ
The cause for the problem is easy: you do not have the correct path to the jQuery file On Oct 1, 10:50 am, Eirtaza Rizvi eirtaza...@gmail.com wrote: i am getting this error while i am using a plug in on word press. please tell me if you know any possible solution!! Regards, EjjA

[jQuery] Re: Can't load a page from a loaded page.

2009-10-01 Thread smwithdm
Sorry, I meant click()s to live(). On 10月1日, 午前10:49, smwithdm smwit...@gmail.com wrote: Chrazy, Thank you for your great info! I changed it as you said but didn't work. I so looked at the api reference and did some homework and changed it to the following and worked all fine! I just

[jQuery] Re: How to manipulate an object containaing HTML

2009-10-01 Thread Charlie
if it was json or xml could parse it then append, I've never tried parsing html from ajax another method is append to an empty hidden table, add classes/css or whatever to the td's in that table then append them to your visible table Julien wrote: On 1 oct, 16:26, Charlie

[jQuery] Re: parentNode is null or not an object

2009-10-01 Thread Hugo Estrada
I figured out what the problem was. In fact, there were two problems: 1. The parentNode problem is triggered by having html tags not closed properly. (The error makes sense) 2. The second error that I was getting, having to do with text-style, was that the value that it was being given, bold, is

[jQuery] Re: Form Validation

2009-10-01 Thread Samuurai
I didn't realise it needed the 'for' attribute. I just finished updating my CSS to allow me to use the default label, so that's one less step I need now. I've just found a useful jquery plugin called unwrap.. hopefully it makes removing the wrapping div easier. Thanks Jorn B On Oct 1, 4:44 

[jQuery] Randomly change thumbs ?

2009-10-01 Thread dichterDichter
Hi pros. is there a way to manipulate thumbnails on a page.. for example to place 6 thumbs there ( 12 thumbs are in gallery ) and change them randomly ? im seaching for a solution or quite a while but cant find anything. Greetings

[jQuery] How to disable text inputs lying near checkboxes ?

2009-10-01 Thread Julien
Hi, One of my HTML forms uses pairs of checkbox/text inputs. Each checkbox is printed on the left of the text input, but is written before that field as it must be justified on the right (float:right). li input name=footer_company type=text style=float:right; / input

[jQuery] Re: Tablesorter problems [Solved]

2009-10-01 Thread Mike
Jon, You are right! Thanks. I saw those characters and thought were have they come from as in my code it is just white space. Many Thanks On Oct 1, 1:57 pm, Jon Banner banali...@googlemail.com wrote: Hi Mike, it looks as if you have copied and pasted some illegal characters in to your demo

[jQuery] Re: remove accordion item

2009-10-01 Thread Hundredth Monkey
no :O( this removes the items. but the accordion does not render correct ... On 1 Okt., 03:45, plian plia...@gmail.com wrote: hi, hope the following code could help div id=accordion         div id=content1h3a href=#header/a/h3                 divcontent                         a

[jQuery] Re: Is it possible to use jQuery BlockUI inside a User Control in .NET ?

2009-10-01 Thread MorningZ
To answer your question on a high level overview: of course it's possible to use the plugin with/inside a user control. all your ASP.NET code is doing, and this is whether it's a stand alone ASPX page, one with MasterPages, and/or using User Controls, at the end of the page generation you

[jQuery] how to replace all the '[]' to be '' in $.SortSerialize('MDEExportedList').hash

2009-10-01 Thread Junhua Gao
I use $.SortSerialize('MDEExportedList').hash.replace('[]','') but only the first one is replaced. Who can help me?

[jQuery] how to replace all the '[]' to be '' in $.SortSerialize('MDEExportedList').hash

2009-10-01 Thread Junhua Gao
I use $.SortSerialize('MDEExportedList').hash.replace('[]','') but only the first one is replaced. Who can help me?

[jQuery] Re: how to replace all the '[]' to be '' in $.SortSerialize('MDEExportedList').hash

2009-10-01 Thread waseem sabjee
why not just try str.replace() ? On Thu, Oct 1, 2009 at 7:18 PM, Junhua Gao gaojun...@gmail.com wrote: I use $.SortSerialize('MDEExportedList').hash.replace('[]','') but only the first one is replaced. Who can help me?

[jQuery] Re: Selectors .each

2009-10-01 Thread Michael Geary
When you write $('dl.set:first') you are saying, make a list of all DL elements in the document that have the 'set' class, and give me the first element in that list. Putting this code inside the .each() loop doesn't change that. The $('dl.set:first') selector stands on its own. The code you

[jQuery] Re: Selectors .each

2009-10-01 Thread Karl Swedberg
Hi Dave, There are a few ways to do this. Probably the easiest is with :first- child. $('.set_list dl.set:first-child').addClass('first'); That will add the class to all dl class=set elements if they are a child of .set_list and if they are the first child of their parent. --Karl

[jQuery] Re: Selectors .each

2009-10-01 Thread Dave Maharaj :: WidePixels.com
Right on. Thanks for pointing that out and clearing it up for me. I'm assuming that the .set_list element actually is the parent of those DL/DT/DD elements. you are correct. Thanks again Dave -Original Message- From: Michael Geary [mailto:m...@mg.to] Sent: October-01-09 3:03 PM

[jQuery] Re: How to disable text inputs lying near checkboxes ?

2009-10-01 Thread Karl Swedberg
Inside your .each() you need to select the text input in relation to the matched checkbox. Also, you can't set a DOM property value on a jQuery object. This should work: $(':text~:checkbox').each( function(){ if(!this.checked) { $(this).prev()

[jQuery] Re: How to manipulate an object containaing HTML

2009-10-01 Thread Julien
On 1 oct, 17:52, Charlie charlie...@gmail.com wrote: if it was json or xml could parse it then append, I've never tried parsing html from ajax another  method is append  to an empty hidden table, add classes/css or whatever to the td's in that table then append them to your visible table

[jQuery] Re: compare variables

2009-10-01 Thread Michael Geary
Regular expressions are a good friend indeed, but in this particular case they would let you down. You could do something like: var re = new RegExp( '^' + varA ); if( re.test(varB) ) alert( 'prefix matches' ); But what if varA contains special characters that are significant in a regular

[jQuery] Re: How to manipulate an object containaing HTML

2009-10-01 Thread Karl Swedberg
Sure, you can do this with html. Inside the success callback function, do this: $(html) .find(td) .css('padding-left','80px') .end() .appendTo('#myTable'); I agree with Charlie that it's a better idea to set the style with css and then just add a class to the td elements. Whether

[jQuery] (autocomplete) help about extraparams

2009-10-01 Thread pragard
Hi, i'm trying the jquery autocomplete from here http://docs.jquery.com/Plugins/Autocomplete On that page someone said that: Often one autocompleted field depends on the value of another field. In that case, the extraParams option can provide the necessary dynamic parameter: Consider an

[jQuery] Notre Dame Inspired Jquery -- Exists?

2009-10-01 Thread Kevin Jones
http://www.nd.edu/ Their homepage has a carousel-ish type of feature. Does anyone know if this exists already with a jQuery plugin? I don't know if our project has the allotted time for me to make one from scratch, so I was curious if it existed or could be easily adapted from somewhere else. If

[jQuery] Re: $.post cross domain first sends an OPTIONS verb?

2009-10-01 Thread Vitaly Piven
Hello David, I have similar problem . $.post() sends some OPTIONS request instead of expected POST (according to logs of web server). On 25 сен, 21:32, David P dpio...@gmail.com wrote: I use $.post like so: $.post(http://mydomain.com/some/webservice;, $.toJSON({ emailAddress: emailAddress

[jQuery] Re: Skipping a slide with Cycle Plugin

2009-10-01 Thread Mike Alsup
This isn't supported directly by the plugin. The only thing I can think of is using a dynamic timeout and setting it to 1 for that slide. I have a hunch it won't work terribly well though. Mike On Oct 1, 10:00 am, Garrison Locke gplo...@gmail.com wrote: Does anyone know how to disable a

[jQuery] change backgroundposition to window width

2009-10-01 Thread Barisko
$(function(){ var w = $(window).width(); $('#background').css({backgroundPosition: w + 'px 190px'}); }); Could anyone explain to mee why this is not working...?

[jQuery] Re: ajax complete function not being called

2009-10-01 Thread mike
Right! I'm having the same problem--neither the error nor the complete are being called. The request just fails, probably because the responseText is not JSON. I've had no luck searching around for answers to this either. Guess we'll have to wait until the jQuery JSONP plugin is more mature.

[jQuery] .ajax() with dataType: 'jsonp' will not use error callback if request fails

2009-10-01 Thread mrandall
I'm using an .ajax() call to do a jsonp request to another domain. When the user is not logged in, however, the server will return a 401 error. Unfortunately, this causes my .ajax() call to fail _without_ calling the error callback. Is this a known bug? Here is my code: $.ajax({

[jQuery] Selecting Form Element Labels

2009-10-01 Thread rob
I'm using a form in several places for this project. I don't want to duplicates of this form so I have it as an include file. Each page requires all the same fields, however, there is one page where I'd like to remove two fields. fieldset label for=FirstNameFirst Name/label input id=FirstName

[jQuery] Troubles altering dropdown menu code..

2009-10-01 Thread scoob...@gmail.com
I was just wondering if somebody out there could answer a couple questions about this menu I'm working on.. Im all out of ideas.. Here is a working sample: http://client.vdhinc.com/PB/menus/horizontal_menu/ I have 2 situations... 1) When you hover a main menu item that has a submenu, and then

[jQuery] Re: ajax complete function not being called

2009-10-01 Thread mike
Right! I'm having the same problem--neither the error nor the complete are being called. The request just fails, probably because the responseText is not JSON. I've had no luck searching around for answers to this either. Guess we'll have to wait until the jQuery JSONP plugin is more mature.

[jQuery] Downloading Jquery

2009-10-01 Thread tendai
Im creating a photo gallery that uses jquery. After downloading jquery it wont let me run it. Anybody know whats up with that.

[jQuery] is(':checked') always returns false

2009-10-01 Thread bob.nel...@gmail.com
I have a bunch of checkboxes that I want to have checked when the user checks a master checkbox. I've done this before and reused the working code, but changed some DOM id's. The problem is its not working. I've narrowed it down to is(':checked') as always returning false. Again, I've reused

[jQuery] Re: is(':checked') always returns false

2009-10-01 Thread MorningZ
You've got issues elsewhere in your code that you don't show: http://jsbin.com/ocode/edit On Oct 1, 2:16 pm, bob.nel...@gmail.com bob.nel...@gmail.com wrote: I have a bunch of checkboxes that I want to have checked when the user checks a master checkbox. I've done this before and reused the

[jQuery] Re: is(':checked') always returns false

2009-10-01 Thread Bob
Interesting discovery. Going back to the code that works, if I alert is (':checked') in the working code, it also returns false ALWAYS, but it still works. Still looking for a solution.

[jQuery] Re: Form Validation errorplacement

2009-10-01 Thread slimshady
I'm doing appendTo and it keeps putting the error message between the label and input box? any ideas what i'm missing please? it should go in the #warnTitle span tag to the right of the input box errorPlacement: function(error, element) { if (element.attr(id) == title) {

[jQuery] Re: change backgroundposition to window width

2009-10-01 Thread Barisko
nevermind, it does work... (why can't I delete a post...) On 1 okt, 19:34, Barisko bartko...@gmail.com wrote:         $(function(){            var w = $(window).width();           $('#background').css({backgroundPosition: w + 'px 190px'});         }); Could anyone explain to mee why

[jQuery] Re: $.post cross domain first sends an OPTIONS verb?

2009-10-01 Thread Vitaly Piven
btw, In IE works just fine. Problems with Firefox 3.5. 2009/10/1 Vitaly Piven vitaly.pi...@gmail.com Hello David, I have similar problem . $.post() sends some OPTIONS request instead of expected POST (according to logs of web server). On 25 сен, 21:32, David P dpio...@gmail.com wrote:

[jQuery] Re: Is it possible to use jQuery BlockUI inside a User Control in .NET ?

2009-10-01 Thread Renan
Thank you! I try this (and variant without the function $(document).ready (function() and .click(function()), inside ASCX in my control: script language=javascript type=text/javascript $(document).ready(function() { $('#BUTTON_TEST').click(function() { $.blockUI({

[jQuery] Re: is(':checked') always returns false

2009-10-01 Thread Bob
Thanks for the link MorningZ I obviously have issues elsewhere in my code, but I can't paste my entire site here. I'm looking for suggestions on what MIGHT be causing this since there is no obvious error at the moment. On Oct 1, 11:39 am, Bob bob.nel...@gmail.com wrote: Interesting discovery.

[jQuery] Re: Downloading Jquery

2009-10-01 Thread Charlie Griefer
On Thu, Oct 1, 2009 at 9:41 AM, tendai financialsa...@gmail.com wrote: Im creating a photo gallery that uses jquery. After downloading jquery it wont let me run it. Anybody know whats up with that. You're really going to have to elaborate if you expect any helpful answers (other than this

[jQuery] Re: Downloading Jquery

2009-10-01 Thread James
What does wont let me run it mean? Are you saving on your computer and double-clicking on it? If so, that's not how you use it... You're suppose to link to it in the script tag in your HTML document. Make sure the path to the file is correct. On Oct 1, 6:41 am, tendai financialsa...@gmail.com

[jQuery] Re: is(':checked') always returns false

2009-10-01 Thread James
Do you have another element on your site with id=msgCheckAllInbox? IDs are suppose to be unique in the entire HTML document. On Oct 1, 8:53 am, Bob bob.nel...@gmail.com wrote: Thanks for the link MorningZ I obviously have issues elsewhere in my code, but I can't paste my entire site here.

[jQuery] Re: Selecting Form Element Labels

2009-10-01 Thread James
I'm sure there are many ways to go about this. Here's one: var fieldName = 'FirstName'; $(#+fieldName).remove(); // removes input $(label[for=+fieldName+]).remove(); // removes label Assuming that your label will always have the same for as the ID of the input. On Oct 1, 8:09 am, rob

[jQuery] Re: is(':checked') always returns false

2009-10-01 Thread Bob
I've already done a site wide search. I only have one element with that unique ID. That was my first thought too. On Oct 1, 12:02 pm, James james.gp@gmail.com wrote: Do you have another element on your site with id=msgCheckAllInbox? IDs are suppose to be unique in the entire HTML document.

[jQuery] Re: (autocomplete) help about extraparams

2009-10-01 Thread James
I don't see what the problem is and what you want help on. You have the code right there that essentially does what you want. You just have to build the server-side code to select only cities with the selected country and a match to the autocomplete text. ... or did you want someone to build all

[jQuery] Re: is(':checked') always returns false

2009-10-01 Thread James
Oops, sorry. I missed your text at the bottom of your initial post. Try doing it like how MorningZ did in his code. Separate the code: onclick=checkAllMsgsIn() and try onchange. I think what maybe happening is that the function is executing before the actual checkbox is checked, thus

[jQuery] Re: ajax complete function not being called

2009-10-01 Thread James
What happens if you put the whole $.ajax statement in a try/catch statement? Does it catch? On Oct 1, 7:24 am, mike randall...@gmail.com wrote: Right!  I'm having the same problem--neither the error nor the complete are being called.  The request just fails, probably because the responseText

  1   2   >