[jQuery] Re: Customize Error Labels

2009-07-23 Thread Rizky
Ahh, Thx for the reply. I get it now :) But my labels isn't always the previous element before the fields. So I changed it to suit my markup. Like this: $('form').validate({ errorPlacement: function(error, element) { $('label').each(function() { var field_for = $(this).attr('for');

[jQuery] Re: Catch Exception

2009-07-23 Thread Dhruva Sagar
It all depends on the data that's returning.I believe the exception would certainly have some data/text that you can use to check if it is an exception and then conditionally update the appropriate div. something like : $(document).ready(function() { $('.DOFFDelete').click(function() {

[jQuery] Re: Customize Error Labels

2009-07-23 Thread Jules
This should work instead of going through all labels. $('form').validate({ errorPlacement: function(error, element) { $('label[for=' + $(element).attr('id') + ']').addClass('error'); }); } }); On Jul 23, 4:00 pm, Rizky

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

2009-07-23 Thread Lideln
Up On 20 juil, 18:46, Lideln lid...@gmail.com wrote: Hi, Thanks for the answer. Here is a bit of my script : [code] // Constructing the modal... SModule_gallery.oGalleryModal.jqm({modal: true})                         .width((SModule_gallery.GALLERY_COLS *

[jQuery] Re: Switching a tabs content from a remote source to a local source

2009-07-23 Thread Klaus Hartl
That shouldn't happen and a similiar bug was fixed for IE long time ago. Which browser do you encounter this bug in and which version of jQuery UI do you use? --Klaus On 22 Jul., 19:22, WR willrya...@googlemail.com wrote: It seems that if you change the url of a tab from a remote source

[jQuery] Re: Customize Error Labels

2009-07-23 Thread Rizky
sweet. thx man.. On Jul 23, 1:10 pm, Jules jwira...@gmail.com wrote: This should work instead of going through all labels.         $('form').validate({             errorPlacement: function(error, element) {                 $('label[for=' + $(element).attr('id') + ']').addClass('error');  

[jQuery] Re: jquery code works with firefox but not ie.

2009-07-23 Thread jakiri
I had the same problem only with internet explorer and only when I use a xml generate with php. Using a standard xml there are not problems. I solved using header('Content-Type: text/xml'); as has already explained and also adding before that instruction the command ob_clean() that remove white

[jQuery] Superfish speed problem

2009-07-23 Thread Ben Houghton
Hi there, I'm trying to get my Superfish menu to display the instant that I hover over it. However there is a slight pause before the sub-menu is displayed. I am using supersubs as well, this is the set-up call I am using. $(document).ready(function(){ $('ul.sf-menu').supersubs({

[jQuery] Re: extend an Object

2009-07-23 Thread jeanluca
thats exactly it!! What is exactly '$' ? its not the same as 'jQuery'. Do you have a link to a doc ? thnx a lot! On Jul 23, 2:23 am, Jules jwira...@gmail.com wrote: Something like this?     function person(name, address) {         this.name = name;         this.address = address;        

[jQuery] Re: Parsing a complicated JSON file with JQUERY !

2009-07-23 Thread Ajay Sharma
its returning me an OBJECT OBJECT i have four levels down ...is there something wrong due to my firewall or anything. ..its not able to access the url or something??? On Thu, Jul 23, 2009 at 5:03 AM, MorningZ morni...@gmail.com wrote: $.getJSON( url_of_json_request, function(json) {

[jQuery] Text manipulation : retrieve tag

2009-07-23 Thread Kris-I
Hello, I have an HTML text with text and tags I'd like to get only the text between the tags title Then I have this: body start text titleText to get/title end text /body i'd like to have this result ONLY: Text to get How can I do this ? Thanks,

[jQuery] Re: extend an Object

2009-07-23 Thread jeanluca
I just noticed that $ and the jQuery object are the same thing!! On Jul 23, 10:27 am, jeanluca lca...@gmail.com wrote: thats exactly it!! What is exactly '$'  ? its not the same as 'jQuery'. Do you have a link to a doc ? thnx a lot! On Jul 23, 2:23 am, Jules jwira...@gmail.com wrote:

[jQuery] Re: extend an Object

2009-07-23 Thread jeanluca
I just noticed that $ and the jQuery object are the same thing!! On Jul 23, 10:27 am, jeanluca lca...@gmail.com wrote: thats exactly it!! What is exactly '$'  ? its not the same as 'jQuery'. Do you have a link to a doc ? thnx a lot! On Jul 23, 2:23 am, Jules jwira...@gmail.com wrote:

[jQuery] Re: jQuery validation custom method doesn't work

2009-07-23 Thread Erwin Purnomo
wow thanks it really worked now the element param is kind of useless right? i wonder why it doesn't work :) anyway huge thanks to Jules On Jul 23, 12:05 pm, Jules jwira...@gmail.com wrote: Your code should have been:      $.validator.addMethod('myEqual', function (value, element, param) {

[jQuery] Getting link ID

2009-07-23 Thread shaf
Hi Guys i have a click event on my links. Each link has an ID. Is there any way I can get the link ID when the user clicks it ? See below for code: a id=menu_home href=#Home/a a id=menu_contact href=#Contact/a //JS $(document).ready(function() { // Add menu event listeners var

[jQuery] Re: Getting link ID

2009-07-23 Thread Dhruva Sagar
Inside the click event handler, the id's should be available using this.idor $(this).attr('id') Thanks Regards, Dhruva Sagar. Pablo Picassohttp://www.brainyquote.com/quotes/authors/p/pablo_picasso.html - Computers are useless. They can only give you answers. On Thu, Jul 23, 2009 at 4:44 PM,

[jQuery] Re: Getting link ID

2009-07-23 Thread shaf
Thanks. On Jul 23, 12:18 pm, Dhruva Sagar dhruva.sa...@gmail.com wrote: Inside the click event handler, the id's should be available using this.idor $(this).attr('id') Thanks Regards, Dhruva Sagar. Pablo Picassohttp://www.brainyquote.com/quotes/authors/p/pablo_picasso.html - Computers

[jQuery] How do a create a loop in my slideshow? (pelase help)

2009-07-23 Thread Smickie
I have create a slide show that has next and previous buttons and an area of 'dots' that link to a specific slide, however I'm having difficulty in looping the sideshow so it runs automatically. Ive tried making a loop function but it seems to act strangely. I'm pretty new to jquery and would

[jQuery] Re: Toggle Div Based on Value

2009-07-23 Thread Liam Potter
use an if statement, if value == retired, do this evanbu...@gmail.com wrote: Hi I'm not sure how to approach this. I want to toggle each div with a checkbox or hyperlink which shows/hides every div where the RelStatus value = 'retired'. I'm able to see the value of each RelStatus value using

[jQuery] Re: Text manipulation : retrieve tag

2009-07-23 Thread Charlie
I don't believe title tag is valid in body tag however regardless of tag placement try this alert($('title').text()); Kris-I wrote: Hello, I have an HTML text with text and tags I'd like to get only the text between the tags title Then I have this: body start text titleText to

[jQuery] Re: Text manipulation : retrieve tag

2009-07-23 Thread Kris-I
In fact all the text/code is in a variable, it's not display on the screen. The page is more like this : html*strong text* head titleMyMessage/title style body {font-family:Verdana;font-weight:normal;font-size: . 7em;color:black;} /style /head body bgcolor=white

[jQuery] Re: Parsing a complicated JSON file with JQUERY !

2009-07-23 Thread MorningZ
as it should ! and that isn't the string/data that you are returning, as you are probably doing an alert to see your data... which is not going to work as the $.getJSON automatically turns your string value into an Object this stripped down simple example shows the same thing htmlbody script

[jQuery] JQuery listnav plugin not working correctly for me

2009-07-23 Thread Carina
I am trying to get listnav to work for me but so far all I have managed to get is the boxes with the name (trying to do demo 4) http://www.cascade-usa.com/default.aspx?page=customerfile=customer/caorsu/customerpages/salesflyer.html The alphabet at the top isn't showing, I don' tknow if I am

[jQuery] JQUERY ListNav, can't figure how to make it work

2009-07-23 Thread Carina
http://www.cascade-usa.com/default.aspx?page=customerfile=customer/caorsu/customerpages/salesflyer.html# I am trying to do it here but I am not getting the nav at the top, I am just getting them in the squares. I am not sure what exactly I am doing wrong.

[jQuery] Image display using jquery

2009-07-23 Thread sintu
Hi, I have a problem in a div displaying number of images and it is implemented using jquery. This div contains a scrolling option also. With out any scrolling, when I click on any image at the bottom part that is not fully visible, then it's popup will display partially now. But I need an option

[jQuery] Re: Hiding the cancel button in Ratings plugin, v.3.12

2009-07-23 Thread Chris Spolton
Hi Lee, I found that uncommenting and setting the option 'required' to true on line 332 did just this. Of course, remember to add in the required comma at the end of line 328 to delimit the array options correctly. Thanks Chris On Jun 24, 12:13 pm, leefw lee.francis.wilhelm...@gmail.com wrote:

[jQuery] validate - Change the message language

2009-07-23 Thread Mats Hellman
How do I change the language for the messages being displayed ones an error in a form is found? Just as an example, say I have Swedish and English at a site and load validate on both pages. How do I set the language correctly?

[jQuery] jPrintArea

2009-07-23 Thread KiVi
Hello, i have strange problem with this plugin ( jquery.jPrintArea ) in IE... With FF, Opera and Chrome is work pretty good! But in IE print container is not exactly what i defined... Can u help me? 10x

[jQuery] Re: Does any one know of a page that uses GalleryView 2.0?

2009-07-23 Thread kelsey
i set up a test page here that uses it http://www.umc.org/site/apps/nlnet/content3.aspx?c=lwL4KnN1LtHb=5288617ct=7169361 On Jul 19, 9:09 am, liquidcomma jus...@liquidcomma.com wrote: Hi, Since all the doucmentatio refers to the earlier version of GalleryView, does any one know of a page

[jQuery] Combining jQuery Objects

2009-07-23 Thread NeilM
Does anyone know if it is possible to join two jQuery objects to make a new object. For example... var e1 = $(#firstObject); var e2 = $(#secondObject); var combined = e1.add(e2); // This is the expression I'm looking for Thanks.

[jQuery] pause jQuery.

2009-07-23 Thread alexrogahn
Hi, I created a sub-navigation menu for a site I've been working on and the thing works perfectly in my opinion... well, near perfectly. When I move my mouse from one main navigation link to the other, the .slideUp and .slideDown properties still work, which is annoying because your essentially

[jQuery] jquery

2009-07-23 Thread rama
when i am submitting the form with jquery, it's not checking for the entire form, it is checking only the first label, that too how many times i am pressing submit button that many times that error label is printing how to avoid this, and how to do entire form validationon submit.

[jQuery] Re: jquery

2009-07-23 Thread Michael Lawson
I'm sorry, I really didn't understand what you were asking/telling here. Also, can you please provide a more concrete example, as well as any code that will help us figure out your problem? Thanks cheers Michael Lawson Development Lead, Global Solutions, ibm.com Phone: 1-276-206-8393 E-mail:

[jQuery] Re: validate - Change the message language

2009-07-23 Thread Jörn Zaefferer
You include the js file for the language of the page. Load no additional file for english, and messages_se.js for swedish. There is no support to load two locales at once and switch after page load. You could hack that by putting the swedish properties into a different variable, then modifying

[jQuery] Re: validate - Change the message language

2009-07-23 Thread Mats Hellman
so adding script type=text/javascript src=script/messages_se.js/script should load the swedish messages instead of the english ones? And using PHP to check $lang and output nothing for english and the statement above for swedish should be enough. On Thu, Jul 23, 2009 at 3:35 PM, Jörn

[jQuery] Re: validate - Change the message language

2009-07-23 Thread Mats Hellman
Yes. Got it now. Thanks! On Thu, Jul 23, 2009 at 3:35 PM, Jörn Zaeffererjoern.zaeffe...@googlemail.com wrote: You include the js file for the language of the page. Load no additional file for english, and messages_se.js for swedish. There is no support to load two locales at once and switch

[jQuery] Re: pause jQuery.

2009-07-23 Thread Charlie
idea of "freezing" jQuery not making a lot of sense. What you did to post code is great, however there's an even better way, put it in jsBin. jSBin will include jQuery for you and give a working copy of your code to share, instead of it being in 2 places with no CSS. Perhaps if you explained

[jQuery] Re: Image display using jquery

2009-07-23 Thread Charlie
anyone reading this can only guess how your image gallery is constructed. Can you provide link to demonstrate your problem, and to see code used? sintu wrote: Hi, I have a problem in a div displaying number of images and it is implemented using jquery. This div contains a scrolling option

[jQuery] Re: Parsing a complicated JSON file with JQUERY !

2009-07-23 Thread MorningZ
Here's a working version to demonstrate (click on the Output tab to see it run): http://jsbin.com/emeta/edit just think of the variable x coming from a $.getJSON call

[jQuery] load(), cache and IE8

2009-07-23 Thread LexHair
I have a table which has an image, an icon and some text in each cell. I can click an icon in the table cell firing a $.get which delinks (deletes) the image from the server. The table is refreshed with a load () call in the callback function. I use the load() call since I'm only interested in

[jQuery] Re: load(), cache and IE8

2009-07-23 Thread MorningZ
Add a random query string parameter onto the url of the .load() call (see the code for the AutoComplete plugin for an example) On Jul 23, 9:37 am, LexHair jdpugl...@hotmail.com wrote: I have a table which has an image, an icon and some text in each cell. I can click an icon in the table cell

[jQuery] Need to validate Multiple email IDs with Comma Seprated

2009-07-23 Thread Mohd.Tareq
Hi Guys, Can any one tell me validation ' *Email Validation for multiple emails (comma separated)* ' for textarea. I am writing Regular expression but not able validating the given input with comma :( Please suggest something in JQuery Or Javascript Thanking you Regard Mohd.Tareque

[jQuery] jquery autocomplete with dwr

2009-07-23 Thread renearaujo
Hi! first: someone know one great (simple and easy) plugin for jquery for autocomplete/suggestion ? second: someone use this plugin with DWR ? thanks :)

[jQuery] Re: jquery autocomplete with dwr

2009-07-23 Thread Ken
how to disable firebug. 2009/7/23 reneara...@gmail.com Hi! first: someone know one great (simple and easy) plugin for jquery for autocomplete/suggestion ? second: someone use this plugin with DWR ? thanks :) -- -- - Administrator : Ken Phan Websmater : www.goldengate.com.vn

[jQuery] Re: pause jQuery.

2009-07-23 Thread alexrogahn
To explain a little more: When I move from one navigational element to the next the animation restarts, I was wondering if there was a way I could stop this happening so that the sub-nav stays down, until I move off the navigation completely or a navigational element which doesn't activate the

[jQuery] slide effects not working.

2009-07-23 Thread Sir Rawlins
Hello Guys, I've got a couple of div's one of which I'm trying to set a slide effect on when the other is toggled, both contain a single image. The code example can be found here http://pastebin.com/m6c3f43a8 Now, the 'expandable' div is hidden when the page loads as I would expect however

[jQuery] Re: jquery autocomplete with dwr

2009-07-23 Thread renearaujo
sorry... i am beginner :) take it easy ;) On Jul 23, 2009 11:08am, Ken kenpha...@gmail.com wrote: how to disable firebug. 2009/7/23 reneara...@gmail.com Hi! first: someone know one great (simple and easy) plugin for jquery for autocomplete/suggestion ? second: someone use this plugin

[jQuery] Re: pause jQuery.

2009-07-23 Thread jlcox
Take a look at the hoverIntent plugin. It might do exactly what you need. http://cherne.net/brian/resources/jquery.hoverIntent.html

[jQuery] jquery.dropShadow and IE8

2009-07-23 Thread JEF
Has any one noticed that the dropshadows dont fade in ie8 they are just black

[jQuery] Re: pause jQuery.

2009-07-23 Thread alexrogahn
hmmm ththat's quite interesting as the plugin I'm currently using claims to be better than hoverIntent. Perhaps it is not :P On Jul 23, 3:35 pm, jlcox jl...@goodyear.com wrote: Take a look at the hoverIntent plugin. It might do exactly what you need.

[jQuery] Re: Toggle Div Based on Value

2009-07-23 Thread evanbu...@gmail.com
Right, but how do I associate the span tag which contains the value = 'Retired' with the div that contains it? In other words, I need to toggle the contents of the entire div and not just the span tag. Thanks. On Jul 23, 7:41 am, Liam Potter radioactiv...@gmail.com wrote: use an if statement,

[jQuery] Re: JQUERY ListNav, can't figure how to make it work

2009-07-23 Thread keith westberg
It looks like you have the listnav script file loaded three times... this may be causeing it. Prob only need one of these. script type=text/javascript src=/customer/caorsu/customerpages/jquery.listnav-2.0.js/script script type=text/javascript

[jQuery] Re: Toggle Div Based on Value

2009-07-23 Thread Liam Potter
$(span a).click(function(){ var checkValue = $(this).parents(div).attr(value); if (checkValue == 'Retired'){ $(this).parents(div).toggle(); } return false; }); You will see the parents function, this allows you to traverse up the dom.

[jQuery] Re: load(), cache and IE8

2009-07-23 Thread LexHair
Works like a champ!! Thanks so much. On Jul 23, 9:48 am, MorningZ morni...@gmail.com wrote: Add a random query string parameter onto the url of the .load() call (see the code for the AutoComplete plugin for an example) On Jul 23, 9:37 am, LexHair jdpugl...@hotmail.com wrote: I have a

[jQuery] Re: pause jQuery.

2009-07-23 Thread alexrogahn
Nope, that plugin only does what I've already set up. I've already got the delay set up. Thanks for the suggestion though ^^ On Jul 23, 3:38 pm, alexrogahn alexrog...@googlemail.com wrote: hmmm ththat's quite interesting as the plugin I'm currently using claims to be better than hoverIntent.

[jQuery] Re: Toggle Div Based on Value

2009-07-23 Thread evanbu...@gmail.com
Very cool. This is what I have now but it only hides the first div containing the RelStatus value = 'Retired' script type=text/javascript $(document).ready(function() { $(#chkIncludeRetired).click(function() { $('#table1.RelStatus').each(function() { var

[jQuery] Re: Toggle Div Based on Value

2009-07-23 Thread Liam Potter
I'll need to see your html to see why, but I suspect it's because you targeted a specific id #table1.RelStatus. evanbu...@gmail.com wrote: Very cool. This is what I have now but it only hides the first div containing the RelStatus value = 'Retired' script type=text/javascript

[jQuery] Re: pause jQuery.

2009-07-23 Thread Charlie
pretty sure you'll figure solutions out, perhaps absolute position the sub nav so it doesn't push page up and down might look better. Or hover over main nav container to push down the sub nav area, would keep that area until you move away from nav completely alexrogahn wrote: To explain a

[jQuery] Re: JQUERY ListNav, can't figure how to make it work

2009-07-23 Thread Carina
Hm, I took two out but it still is looking the same with out the nav at the top. On Jul 23, 7:45 am, keith westberg keith.westb...@gmail.com wrote: It looks like you have the listnav script file loaded three times... this may be causeing it.  Prob only need one of these. script

[jQuery] Re: Toggle Div Based on Value

2009-07-23 Thread evanbu...@gmail.com
I removed some of the server-side code but this is it. thanks script type=text/javascript $(document).ready(function() { $(#chkIncludeRetired).click(function() { $('#table1 .RelStatus').each(function() { var RelStatusValue = $(this).text();

[jQuery] Re: JQUERY ListNav, can't figure how to make it work

2009-07-23 Thread Jack Killpatrick
yes (only use one of the listnav js files). That and rename this: div id=demoFour class=listNav/div to this: div id=demoFour-nav class=listNav/div - Jack keith westberg wrote: It looks like you have the listnav script file loaded three times... this may be causeing it. Prob only need one

[jQuery] Re: Toggle Div Based on Value

2009-07-23 Thread Liam Potter
could you paste the outputted html to jsbin, in the meantime, try this script type=text/javascript $(document).ready(function() { $(#chkIncludeRetired).click(function() { $('.RelStatus').each(function() { var RelStatusValue = $(this).text(); if

[jQuery] Re: Looking for some help converting this to jquery

2009-07-23 Thread sleepwalker
Thanks Rob I like your approach and learned a lot. This is why I like to post code to see how others attack the same issue. I would still like to see how someone would code this using the jquery syntax rather then the standard javascript way, so if anyone wants to give it a go please do. All us

[jQuery] Re: Looking for some help converting this to jquery

2009-07-23 Thread Eric Garside
function setButtonClass(){ $(':submit,:reset,:button').each(function(){ var el = $(this), val = el.val(), word = (val.split(/[^A-Z\W]/).length/2) + val.length; el.addClass( word = 12 ? 'mb' : (word 4 ? 'sb' : (word 0 ? 'b' : '')) ); }) }

[jQuery] Make width of inner div equal outer

2009-07-23 Thread Paul Collins
Hi all, I've got a problem with IE6 and I need to basically find the width of the header DIV and make the secondLevel DIV match it. So, I guess I need to target IE6 specifically in the code. Here's what I have: div id=header ul id=topNavigation lia href=/Home/a/li li class=selected a href=/About

[jQuery] Re: Make width of inner div equal outer

2009-07-23 Thread Eric Garside
$('.secondLevel').css('width', $('#header').width()); On Jul 23, 1:16 pm, Paul Collins pauldcoll...@gmail.com wrote: Hi all, I've got a problem with IE6 and I need to basically find the width of the header DIV and make the secondLevel DIV match it. So, I guess I need to target IE6

[jQuery] Re: Looking for some help converting this to jquery

2009-07-23 Thread sleepwalker
Eric you rock that's what I'm talking about!! Beautiful code man thanks so much. Learning is fun. Daniel

[jQuery] Re: HELP: how to browser cache json request?

2009-07-23 Thread wgordonw1
Hi James, I understand that if they return a 304 headers then that means they are using the cached version... that is what 304 Not Modified means. The problem is that there isn't a 304 Not Modified header when a user visits the page. That only happens after the json is loaded. It is page

[jQuery] how to call custom function

2009-07-23 Thread dhana
I dont know how to call the custom javascript function with arguments

[jQuery] [validate]

2009-07-23 Thread dustin.c
Hi all, I'm using the jQuery validate plugin. When select boxes don't pass validation, I want them to to be revalidated onChange. I don't see an option for this in the validate() options. Do I have to add it manually to the elements onchange attribute? -Dustin

[jQuery] Re: Validation plugin 1.5.5 error in IE6

2009-07-23 Thread Rio
I found this link: http://return-true.com/2008/12/fixing-jquery-validator-plugin-in-internet-explorer-6/ Looks like it's a character set issue. -Mario On Jun 29, 4:21 pm, Tristan teastb...@gmail.com wrote: The jquery.validate.pack.js file found

[jQuery] How to append elements with event listener?

2009-07-23 Thread C1412
I tried to append a table row to a table by clicking on a button. And inside the table, I put a link so i can click that and remove the row. I was using jquery.flydom plugin, by the way. The HTML looks like: HTML== table id=PE_Template tr tha class=removeRow

[jQuery] Re: Combining jQuery Objects

2009-07-23 Thread Kuo Yang
Do you mean append() or appendTo() ? On Thu, Jul 23, 2009 at 12:17 PM, NeilM neil.mar...@abilitation.com wrote: Does anyone know if it is possible to join two jQuery objects to make a new object. For example... var e1 = $(#firstObject); var e2 = $(#secondObject); var combined =

[jQuery] Loop with mouse enter / leave events: help needed !

2009-07-23 Thread eelziere
Hi All, I am very new to jquery. Here is a small page I made to get familiar with it: http://www.compu-zen.com/tests/jquery.popup_test.htm Could anybody explain me the following: when mouse cursor is located above the middle of the height of the button image, javascript is looping while

[jQuery] jQuery Cycle pager with images

2009-07-23 Thread matttr
Hi, I am fairly new to both jWuery and jQuery Cycle, but I have managed to set-up my slideshow using images as the pagers. The problem is that I want to be able to indicate which slide is currently being displayed by toggling the pager image to unique one when it is active. Essentially what I

[jQuery] Re: Validation plugin 1.5.5 error in IE6

2009-07-23 Thread Rio
It would be great if you could post your repacked version for us. Thanks! -Mario

[jQuery] Re: Need to validate Multiple email IDs with Comma Seprated

2009-07-23 Thread Kuo Yang
You can split the Emails with the comma, and then validate them one by one. On Thu, Jul 23, 2009 at 9:49 PM, Mohd.Tareq tareq.m...@gmail.com wrote: Hi Guys, Can any one tell me validation ' *Email Validation for multiple emails (comma separated)* ' for textarea. I am writing Regular

[jQuery] switching jquery tabs in code behind(C#)

2009-07-23 Thread noorul
I have five div tags(jquery tabs) in my aspx page...Inside the second div(tab) i have a button. onclick of that buttton the second div(tab) should be switched..instead of that the first tab is coming.. How can i switch the tab in code behind(Inside button onclick event)...

[jQuery] Trying to Validate a Form

2009-07-23 Thread Nick
Hi, I am currently trying to validate a form before sending it with the jQuery Form Plugin. I can get them working but it is always one or the other, I can't get them both working. The code I have so far is below: script type=text/javascript $('#submit').ajaxForm(function() {

[jQuery] Re: switching jquery tabs in code behind(C#)

2009-07-23 Thread MorningZ
onclick event would be: - in the aspx's code? - on the client? if it is in the code, then any running of that postback code is going to cause a page reload, and consequent defaulting to the first tab by default if you want the new page reload to stay on the current tab, then you would emit

[jQuery] Re: Trying to Validate a Form

2009-07-23 Thread Jörn Zaefferer
You've got an error in the second selector, a missing #. Try this: $(#submit).validate({ submitHandler: function(form) { $(form).ajaxSubmit(); } }); Jörn On Thu, Jul 23, 2009 at 3:22 PM, Nickpoomi...@googlemail.com wrote: Hi, I am currently trying to validate a

[jQuery] Re: JQUERY ListNav, can't figure how to make it work

2009-07-23 Thread Carina
Oh, thank you! that worked. On Jul 23, 9:11 am, Jack Killpatrick j...@ihwy.com wrote: yes (only use one of the listnav js files). That and rename this: div id=demoFour class=listNav/div to this: div id=demoFour-nav class=listNav/div - Jack keith westberg wrote: It looks like you

[jQuery] Re: How to append elements with event listener?

2009-07-23 Thread C1412
Thanks to jukebox42 from jqueryhelp.com. The problem is solved. When you create your table row the remove button doesn’t get any events attached to it since it was created after you declare the event. a way around this is to use the live() function in jquery (

[jQuery] Re: Adjusting Superfish menu alignment

2009-07-23 Thread Charlie
you are duplicate loading script files and also trying to use $(document).ready in a jQuery.noConflict environment. If not familiar with noConflict read FAQ's on jQuery site dgaletar wrote: Hello. I love your module! Thank you for developing it. The issue I am having is that my menu is

[jQuery] Working with progressbar as a preloader

2009-07-23 Thread shaf
Hi Guys I want to use the progress bar on the site first load which will basically act like the gmail preloader. The aim is to use an AJAX request which will download the content and the preloader is running at the frontend. Once the content is downloaded the progressbar is removed and the

[jQuery] select all grandchildren of a div

2009-07-23 Thread Krish
Hey All, I have to select all my grandchildren of parent div. only the grandchildren not either of children or great grandchildren. div id=parent class=parent div id=child class=child div id=grand_child_1 class=grandchild /div div id=great_grand_child_1

[jQuery] Re: select all grandchildren of a div

2009-07-23 Thread amuhlou
Assuming the grandchildren all have the class=grandchild attribute, you could use the find() method: $('div.parent').find(.grandchild) On Jul 23, 3:04 pm, Krish senthil@gmail.com wrote: Hey All, I have to select all my grandchildren of parent div. only the grandchildren not either of

[jQuery] [Plugins] New plugin - jqswfupload

2009-07-23 Thread alexanmtz
Hello everyone, I would like to announce the jqswfupload plugin: http://jqswfupload.alexandremagno.net/ The easier way to make a multiple file upload using swfupload. You can create a complete interface for multiupload files based on Flickr ux in just one line of code and them make custom

[jQuery] Re: Loop with mouse enter / leave events: help needed !

2009-07-23 Thread deltaf
The container with the appearing image overlaps the rollover area halfway. I determined this with Firebug by changing the div's style to include background: red. The answer was very clear then. :) On Jul 23, 12:40 pm, eelziere eelzi...@hotmail.com wrote: Hi All, I am very new to jquery.

[jQuery] Re: select all grandchildren of a div

2009-07-23 Thread Krish
hi amuhlou, thank you for your quick response. with the same assumption is there any possibility to get all grandchildren in the handle property of jquery. On Jul 23, 12:11 pm, amuhlou amysch...@gmail.com wrote: Assuming the grandchildren all have the class=grandchild attribute, you could

[jQuery] Insert SWF using JS

2009-07-23 Thread shaf
Hi Guys I have some JS that flash cs4 generated when I published my swf. I am trying to do some AJAX and download the SWF and then insert it into the page's DIV tag. How can I do this. Code below: AC_FL_RunContent( 'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/

[jQuery] Re: select all grandchildren of a div

2009-07-23 Thread amuhlou
I'm not really sure what you are asking. Are you referring to the jQuery ui slider? If so, the jQuery UI google group is probably a better place to ask that question and search for threads where your question may have already been answered. http://groups.google.com/group/jquery-ui On Jul 23,

[jQuery] Re: [Plugins] New plugin - jqswfupload

2009-07-23 Thread Cesar Sanz
Very nice man!! Thanks for your contribution. - Original Message - From: alexanmtz alexan...@gmail.com To: jQuery (English) jquery-en@googlegroups.com Sent: Thursday, July 23, 2009 1:19 PM Subject: [jQuery] [Plugins] New plugin - jqswfupload Hello everyone, I would like to

[jQuery] Re: Need help with a custom selector to bind ajax callbacks

2009-07-23 Thread Rodrigo Tassinari
Anyone? On 20 jul, 12:34, Rodrigo Tassinari de Oliveira rodr...@pittlandia.net wrote: Hello everyone, I'm stuck with an annoying problem in this webapp I'm developing. I've created a small code to be called automagically on every ajax request, which shows a loading... div overlay while the

[jQuery] Re: extend an Object

2009-07-23 Thread Cesar Sanz
$ = jQuery It is an alias - Original Message - From: jeanluca lca...@gmail.com To: jQuery (English) jquery-en@googlegroups.com Sent: Thursday, July 23, 2009 4:26 AM Subject: [jQuery] Re: extend an Object I just noticed that $ and the jQuery object are the same thing!! On Jul 23,

[jQuery] adding click event

2009-07-23 Thread shaf
Hi Guys I have just inserted some content into my html page and now Im trying to add event listeners for some of the links in the inserted content but nothing happens. Do I need to update something before I can add a click event?

[jQuery] Listnav initial display of no items?

2009-07-23 Thread rubycat
Thank you for this little treasure! Is there a way to do it so that when listnav initially appears on the page, no items are shown? In other words, is there a way to just have the alphabetized index show with no initial display of anything else?

[jQuery] [Plugins] looking for iPhone contacts shortcut

2009-07-23 Thread macsig
Hello guys, I have a long list or product names and in order to speed up the research I'd like to have the alphabet letters on one side and when the user presses one of them the list scrolls to the first name that starts with that letter. Something like contacts on iPhone. So, before starting to

[jQuery] Re: adding click event

2009-07-23 Thread gil
Can you provide sample code or a link? On 23 jul, 14:47, shaf shaolinfin...@gmail.com wrote: Hi Guys I have just inserted some content into my html page and now Im trying to add event listeners for some of the links in the inserted content but nothing happens. Do I need to update something

[jQuery] Re: how to call custom function

2009-07-23 Thread gil
hi This link could help http://www.w3schools.com/js/js_functions.asp On 23 jul, 08:41, dhana ddhanasha...@gmail.com wrote: I dont know how to call the custom javascript function with arguments

  1   2   >