[jQuery] Click function dosen't work, after append new html data.

2009-03-11 Thread sure
Hi all, I am new to jquery. My close click event function dosen't work, when ever i append new html data to my div. Intially it is working fine with static data. Please help me to fix this problem. $(function() { $(#addrow).click(function() {

[jQuery] How to reload page after specific time period

2009-03-11 Thread Bluesapphire
Hi! How can I reload page [05 seconds gap] after successful ajax reply from server. Like youtube shows SUCCESS message and then whole page is refreshed after a while. Thanks in advance

[jQuery] Re: How to reload page after specific time period

2009-03-11 Thread sure
After receving success, you can do like this. setTimeout(yourfunction(),5000); Regards sure On Mar 11, 12:18 pm, Bluesapphire michealg...@gmail.com wrote: Hi!     How can I reload page [05 seconds gap] after successful ajax reply from server. Like youtube shows SUCCESS message and then whole

[jQuery] Re: grouped select boxes

2009-03-11 Thread sure
Hi, var val1 = $(#seasonmember).children(option:selected).attr (value); var val2 = $(#season).children(option:selected).attr(value); validate both val1,val2 Regards sure On Mar 11, 10:57 am, Mark King m...@ampersand.net.au wrote: Hi. I have two select boxes for differrent classes of

[jQuery] Re: Get Textbox-value and write to table-cell (td/td)

2009-03-11 Thread Josh Powell
*shrugs* up to you, brian means to use string.splice(a); where a = number of characters before the index that is tacked on. so if the name/id is foo_1, foo_2 then you'll do: $('[id^=foo_]').change(function() { $('[name=post-amount_' + $(this).attr('id').slice(3) + ]').val($ (this).val());

[jQuery] Re: How do I adapt this code for multiple uses?

2009-03-11 Thread IanR
Thanks guys for both of your replies they are equally valuable. I have never delved into creating plugins yet I suppose I should really. I tried with this code but missed the last part which was include it in a div. Thanks for the help, Ian.

[jQuery] Re: JQuery Form Validation Fancybox

2009-03-11 Thread Jörn Zaefferer
Dunno about Fancybox, but you can use the remote method to check the username: http://docs.jquery.com/Plugins/Validation/Methods/remote Jörn On Tue, Mar 10, 2009 at 11:53 PM, MonkeyBall2010 hughes.timo...@gmail.com wrote: You'll have to forgive me if this question sounds easy but I am fairly

[jQuery] Re: [validate] grouped select boxes

2009-03-11 Thread Jörn Zaefferer
Using the validation plugin, set a required-rule for each field, after removing the value from the 0-option, that is, change it to option value0/option Jörn On Wed, Mar 11, 2009 at 6:57 AM, Mark King m...@ampersand.net.au wrote: Hi. I have two select boxes for differrent classes of tickets

[jQuery] Re: add li to ul

2009-03-11 Thread Elmar
Sure. There is a small difficulty in that this code is supposed to run an iPhone/Webkit and some API´s don´t make sense in a standard web enviroment. But basically you can just strip all that exra bits and pieces and just run it in a browser. I should actually do this myself and see if it is an

[jQuery] Re: Click function dosen't work, after append new html data.

2009-03-11 Thread errant
That's because events are binded to existing elements. If you're using 1.3.x, take a look at live method: http://docs.jquery.com/Events/live#typefn. With previous versions, livequery plugin may be helpful: http://docs.jquery.com/Plugins/livequery On 11 мар, 09:25, sure sure.2...@gmail.com

[jQuery] Re: Click function dosen't work, after append new html data.

2009-03-11 Thread sure
Hi errant, Thank you very much for quick reply. Now it works good using live method. Your solution saves my lot of time. with Regards sure. On Mar 11, 1:32 pm, errant d.cheka...@gmail.com wrote: That's because events are binded to existing elements. If you're using 1.3.x, take a

[jQuery] Re: [validate] grouped select boxes

2009-03-11 Thread Mark King
I did this in the end (created a div called errorcontainer obviously). $(document).ready(function(){ var container = $(#errorcontainer); container.hide(); $(#regform).validate({ submitHandler: function(form) { if

[jQuery] Re: Open a Pop Up Window Using jQuery

2009-03-11 Thread .Nil
Hi, I wish to pop up a div using jquery Apppreciate if you send the code, if possible. On Mar 11, 2:16 am, MorningZ morni...@gmail.com wrote: is there any compelling reason to *not* use window.open, which any jQuery solution will ultimately use anyways? or are you looking for a modal

[jQuery] Unable to remove append data to div using remove() method.

2009-03-11 Thread sure
Hi all, I am unable to remove html data after append html data to div, I can remove initially data using this function successfully with out getting any problem. Jquery - $(function(){ $(#addrow).live(click,function() { var len =

[jQuery] Re: [validate] grouped select boxes

2009-03-11 Thread Mark King
I did this in the end (created a div called errorcontainer obviously). $(document).ready(function(){ var container = $(#errorcontainer); container.hide(); $(#regform).validate({ submitHandler: function(form) { if

[jQuery] Re: filter(fn)

2009-03-11 Thread Bright Dadson
Thanks Karl, It worked perfect. On Tue, Mar 10, 2009 at 7:01 PM, Karl Swedberg k...@englishrules.comwrote: if(($out).filter(':contains(Invalid)')) That is always going to be true since it returns a jQuery object regardless of whether there are any matched elements. Try this instead:

[jQuery] Re: Open a Pop Up Window Using jQuery

2009-03-11 Thread Richard D. Worth
Here are a few: * jQuery UI Dialog - http://jqueryui.com/demos/dialog * Facebox - http://famspam.com/facebox * FancyBox - http://fancy.klade.lv/ * iBox v2 - http://www.ibegin.com/labs/ibox/ * jqModal - http://dev.iceburg.net/jquery/jqModal/ * jQuery Alert Dialogs -

[jQuery] How to prevent third-party CSS code override our CSS

2009-03-11 Thread Nguyễn Quốc Vinh
I'm using sortable of jQuery UI! My elements such as UL tag, LI tag(sortable, dragable,..element) may put into many template! And each template have thier own CSS, so, that CSS override CSS of my LI tag Have anyway to clear all CSS apply on our element, then apply new CSS? Or i must use

[jQuery] [Cycle] opts.slideCount Problem

2009-03-11 Thread jeancharles
a fast question : how to use the opts.slideCount ? function onAfter(curr, next, opts){ var msg = ' ' + ( opts.currSlide + 1) + ' / ' + (opts.slideCount); $('#counterMedia').html(msg); }; seems not working easily :

[jQuery] [validate] jquery validation problem

2009-03-11 Thread exhaler
hi, i new to jquery, i'm using the jquery validation to validate my form. using this code script src=includes/jquery/jquery.validate.js type=text/ javascript/script script src=includes/jquery/cmxforms.js type=text/javascript/ script script type=text/javascript $.validator.setDefaults({

[jQuery] Tablesorter with inside delete link

2009-03-11 Thread Dagnan
Hi! I'm using tablesorter, which content is generated by a $.get (from a php script) when the page loads. I want to add to my table a column 'delete' with a delete link (for each row of course). The problem is I can't catch the click action with jQuery: nothing happens. But when the link is

[jQuery] Re: Missing semi-colons in form plugin.

2009-03-11 Thread Mike Alsup
FYI: Semi-colons are missing on lines 87 605 of the form plugin, thus making it hard to compress/obfuscate. Fixed. http://www.malsup.com/jquery/form/#download

[jQuery] Re: How to prevent third-party CSS code override our CSS

2009-03-11 Thread sure
Hi, Include your css files using @import. It loads at the end of the page load. And use !important in your css. May i think these will help u. Regards sure On Mar 11, 3:38 pm, Nguyễn Quốc Vinh kureik...@gmail.com wrote: I'm using sortable of jQuery UI! My elements  such as UL tag, LI

[jQuery] jQuery validation plugin -- how to validate an input only if it contains info

2009-03-11 Thread clorentzen
Hi -- I've got a contact form here http://www.dianlofton.com/contact.shtml ...using the jquery.validate.js plugin. The form has an optional input for a phone number, which I'd like to have validated -- but only if there is info in the input. If you look at the source code for that page, you'll

[jQuery] [Validate] Validation plugin adding random validation rules depending on message

2009-03-11 Thread Walther
I'm having a strange issue with the validation plugin. I have a field for the users telephone number, but the only rule that is set is that it is a required field. However, if you type any character apart from a number it gives a Please enter a valid number error which it shouldn't (as I never

[jQuery] Re: Reset individual form objects to their original display state

2009-03-11 Thread Alwin Pacheco
@michaell I Haven't see your comment but you're right. In my example I show two options to get/retrieve the values of the :input fields that I use trying to set a perspective of the problem. The first one within a function and a second example directly on a specific field. Saving the whole

[jQuery] [Announce] jOWL 1.0 released

2009-03-11 Thread David Decraene
I'm happy to announce the release of jOWL version 1.0 jOWL (http://jowl.ontologyonline.org) is a jQuery plugin to load and visualize semantic information from OWL (Web Ontology Language) files. This version incorporates smarter reasoning, faster loading and many other goodies. David jOWL

[jQuery] Re: [Validate] Validation plugin adding random validation rules depending on message

2009-03-11 Thread Walther
I'm not using any class number. The problem only exists if the word number exists inside the message, what can I remove or change in the jquery.validate.js file to stop it scanning messages? I'm not sure where to put the delete line. If I add it in my document ready function the validation

[jQuery] Re: [Validate] Validation plugin adding random validation rules depending on message

2009-03-11 Thread Jörn Zaefferer
You could configure the metadata plugin to use something else then the class attribute. Currently you have the word number inside the class attribute, so the input has the class number, metadata or not. Jörn On Wed, Mar 11, 2009 at 1:13 PM, Walther waltherl...@gmail.com wrote: I'm not using

[jQuery] Re: [Validate] Validation plugin adding random validation rules depending on message

2009-03-11 Thread Walther
Ah, that worked. Thanks. Walther On Mar 11, 2:15 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: You could configure the metadata plugin to use something else then the class attribute. Currently you have the word number inside the class attribute, so the input has the class number,

[jQuery] Re: JQuery XML Manipulation

2009-03-11 Thread stilwalli
stilwalli wrote: Hello Developers, I am using jqGrid plugin of JQuery for displaying data in a grid. I am wanting to manipulate the data xml dynamically. For instance say I have an xml like data emplist employee empcode10/empcode empnameraj/empname employee employee

[jQuery] Re: jQuery TinyMCE

2009-03-11 Thread Adhip
The problem is that tinyMCE has not added the content to the textarea which it usually does on the page unload event. To solve this, call this function before you serialize: tinyMCE.triggerSave(true,true); - Adhip. On Feb 25, 8:10 pm, Dan Vega danv...@gmail.com wrote: I am having an issue

[jQuery] slideToggle error in IE

2009-03-11 Thread per.iamso...@gmail.com
I'am using the slideToggle function to toggle all boxes at my page. It worked in all browser at first, but now I get an error in Internet Explorer7 (Element is not defined). I tried to figure out where the problem is, because no javascript works at all in IE now. The error is trigged at:

[jQuery] Re: ajax post with tinymce

2009-03-11 Thread Adhip
Does this solve your problem? http://www.crossedconnections.org/w/?p=88 All you have to do is call: tinyMCE.triggerSave(true,true); before you make the post call. On Feb 13, 9:48 pm, david.0pl...@gmail.com david.0pl...@gmail.com wrote: I need to have this: function nuovo_articoloPOST(){  

[jQuery] Re: ajax post with tinymce

2009-03-11 Thread Adhip
Call this before the $.post call: tinyMCE.triggerSave(true,true); On Feb 13, 9:48 pm, david.0pl...@gmail.com david.0pl...@gmail.com wrote: I need to have this: function nuovo_articoloPOST(){         //Se e solo SE il form è stato validato         if($(#nuovo_articolo).valid()) {        

[jQuery] Copy a class links to a paragraph works on all browsers but Firefox

2009-03-11 Thread ThomasS
Hello, at this a href=http://baustelle.besucherring.org/frontend/ karte.htmpage/a I use the following jQuery Script to highlight the towns at the map when the user is hovering over the items at the navigation $(document).ready(function(){ $(#block_2 h2).after(p id=\kartenort\/p);

[jQuery] Problem importing XML file

2009-03-11 Thread paulswansea
Hi, I'm trying to import my sitemap.xml file, and the code below works when i have the alert('.') placed in there, but the moment I remove it, the data isn't imported, can anyone help? $.ajax({ type: GET, url: /sitemap.xml, dataType: xml,

[jQuery] Re: jQuery validation plugin -- how to validate an input only if it contains info

2009-03-11 Thread clorentzen
Thank you! --Carl. On Mar 11, 7:54 am, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: add if (this.optional(element)) return true; to the top. See any existing validation method for an example, orhttp://docs.jquery.com/Plugins/Validation/Validator/addMethod Jörn On Wed, Mar 11,

[jQuery] Re: Tablesorter with inside delete link

2009-03-11 Thread MorningZ
Showing some code, specifically how you wire up this delete button would be a help to others helping you On Mar 11, 6:12 am, Dagnan dag...@gmail.com wrote: Hi! I'm using tablesorter, which content is generated by a $.get (from a php script) when the page loads. I want to add to my table a

[jQuery] Treeview node click behavior

2009-03-11 Thread Ryan
Is there a way to make a node in the treeview expand/collapse ONLY if the +/- is clicked but not the folder icon or folder name but still make the node selectable?

[jQuery] live() not working in IE8?

2009-03-11 Thread Todd Rafferty
I have a drop down that is being generated via load() - to be 100% clear, I'll restate that. The drop down does not exist on the actual page. I'm doing this: $('#orderlineform #productlisting').load('orderProxy.cfm', { mode:'getAvailableProducts'

[jQuery] AutoComplete

2009-03-11 Thread Bright Dadson
Hi Experts, I am trying to use jQuery get function to develop an autocomplete which will display suggestion as soon as users starts typing like this; !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; html head script

[jQuery] Re: AutoComplete

2009-03-11 Thread MorningZ
What is the purpose of the .get() ? The autocomplete plugin already has the ajax call all wired into it, there's no need to do that on your own $(document).ready(function(){ $(#example).autocomplete( test.php ).result(function(a,data,c) {

[jQuery] Re: AutoComplete

2009-03-11 Thread Joseph Le Brech
you should be sanitising your sql aswell. Date: Wed, 11 Mar 2009 08:00:23 -0700 Subject: [jQuery] Re: AutoComplete From: morni...@gmail.com To: jquery-en@googlegroups.com What is the purpose of the .get() ? The autocomplete plugin already has the ajax call all wired into it,

[jQuery] Helping IE support Border Radius

2009-03-11 Thread weepy
http://gist.github.com/77516 // Use like : $(.myClass).borderRadius() will attempt to apply curved corners as per the elements -moz-border-radius attribute // Good: // - supports textured forgrounds and backgrounds // - maintains layouts // - very easy to use // - IE6 and IE7 // Bad: // - not

[jQuery] Re: AutoComplete

2009-03-11 Thread Bright Dadson
Do i access data like this; $(example).html(data); On Wed, Mar 11, 2009 at 3:11 PM, Joseph Le Brech jlebr...@hotmail.comwrote: you should be sanitising your sql aswell. Date: Wed, 11 Mar 2009 08:00:23 -0700 Subject: [jQuery] Re: AutoComplete From: morni...@gmail.com To:

[jQuery] Re: .append misbehavior in MSIE7 with cross-window element injection

2009-03-11 Thread Nekura Neko
Thanks Dave! script type=text/javascript var newElement = $(li /, opener.document).text(Mod State); $(opener.document).find(#injectHere).append(newElement); /script works great in MSIE7 FF3. /script On Mar 10, 5:47 pm, Dave Methvin dave.meth...@gmail.com wrote: Try this: $(li /,

[jQuery] Re: AutoComplete

2009-03-11 Thread Joseph Le Brech
you are assigning the html here to what's in data. to access i think is data = $(example).text; try this but breakpoint it in firebug, because in not using firefox right now. Date: Wed, 11 Mar 2009 15:18:10 + Subject: [jQuery] Re: AutoComplete From: brightdad...@googlemail.com To:

[jQuery] Re: AutoComplete

2009-03-11 Thread Bright Dadson
I have done something like this; script $(document).ready(function(){ $(#example).autocomplete( test.php ).result(function(a,data,c) { // variable data has the value the user selected

[jQuery] Re: Only show 5 list item, hide the rest?

2009-03-11 Thread Brian
How would one go about adapting this to be used with multiple lists on one page. I have 3-5 lists on each page and would only like to show the first 3 items of each with the ability to show the others. On Feb 17, 5:16 am, mofle mofl...@gmail.com wrote: I'm using IE6 natively on an XP machine.

[jQuery] Re: AutoComplete

2009-03-11 Thread MorningZ
Those examples don't make any sense the first one $(example).html(data); the input box will already be filled with the data (which keep in mind is what the user selected) the second one data = $(example).text; the value of data is what the user selected and will already be inside the input

[jQuery] Passing arguments to event handler

2009-03-11 Thread vani
I'm trying to pass arguments to a function that's called from within anonymous function that acts as an event handler for the click event. The problem is that once a thumbnail(gallery.images[i]) is clicked the startSlideshow function gets the final iteration's values passed as the arguments,

[jQuery] Re: live() not working in IE8?

2009-03-11 Thread Jaggi
Yea the exact same thing happened to me although i think it works for click events. I had the same problem in ie7 too though. i just decided to use the old way of event bubbling to get around although the jquery lot did say they know it has issues. On Mar 11, 2:19 pm, Todd Rafferty

[jQuery] Re: add li to ul

2009-03-11 Thread mkmanning
Not sure if this might be related to your problem: http://groups.google.com/group/jquery-dev/browse_thread/thread/6d3de70e6f2c6ebe/908edb7729c03a3c?lnk=raot I'd suggest trying to add a LI to the UL using standard DOM methods: var li = document.createElement('li');

[jQuery] ajax, scripts and bowser cache

2009-03-11 Thread bohne
Hi I submit data to a page and load response content into a div using an ajax POST request. The response can contain new scripts to load and some which have been already loaded by the main page. The browser does not sort out already loaded/cached scripts because jquery adds an additional flag to

[jQuery] Switching Content in same div

2009-03-11 Thread Desinger
Hi, Switching content in same div which contains images and text. As We see a product more views or red and blue Default loads the red when u click on blue the image and description changes. same when u click on red. Help me out here thanks

[jQuery] jquery validate issues with IE

2009-03-11 Thread phred78
Hi, I'm sorry if this is a double post but I can't find the original one. I'm having problems with jquery-validation on IE. It's working fine in every other browser. This is the page: http://www.thecentroexperience.com/de/wellness/contest/28/ It should validate all the fields, but in IE it

[jQuery] Re: SimpleModal error in IE7

2009-03-11 Thread ACavers
Eric, I am having the exact same issue with your (excellent) simplemodal plugin. Could you please post your original reply to the group to help others with this same problem? Many thanks. On Mar 11, 4:36 am, Eric Martin emarti...@gmail.com wrote: Ricardo, I believe I responded to your

[jQuery] jquery-validate issues with IE

2009-03-11 Thread phred78
Hi, I have been looking for an answer, but for the love of God, can't find any solution. I have the validator working perfectly on FF and Safari, but can't get it to work on IE. It's giving me a serious headache, but I'm sure I'm missing something obvious. This is the page I'm talking about:

[jQuery] Validate plugin with radio button in IE 6 7

2009-03-11 Thread Glamorous
Hi everyone, I have a problem with my validation on my form in IE (6 AND 7) This is a part of my form: p label for=boy class=radiospanboy/spaninput type=radio id=boy name=sex value=boy //label label for=girl id=radio_girl class=radiospangirl/ spaninput type=radio id=girl name=sex

[jQuery] jqGrid - display a xml node attribute value in a cell

2009-03-11 Thread Arun Boppudi
I need to display a xml node attribute value in a cell. How can I do it using the xmlmap? I have XML like: rows row cell1 attribute1=Arun Boppudi / cell22/cell2 cell33/cell3 cell44/cell4 /row .. /rows In the table's first cells I need to display Arun

[jQuery] Switching Content in same div

2009-03-11 Thread Desinger
Hi, Product page would like to load different contents in same div For example : Red product and Blue product Default it loads red product and when u click on blueimage product image and discription should load in the same div. I hope I have conveyd my message clearly

[jQuery] Update DIV

2009-03-11 Thread so.phis.ti.kat
Hello Everyone, I am looking to see if I should switch to jQuery but first need to find jQuery's equivalent to Prototype JS's Ajax.Updater; new Ajax.Updater(id, url, {method: 'post', parameters: pars}); Ajax.Updater allows you to simply update the content of a DIV. ps. I did find his plugin

[jQuery] ajax script resources and bowser cache

2009-03-11 Thread bohne
Hi I submit data to a page and load content to a div by a ajax POST request. The response can contain new scripts to load and some which have been already load by the main page load. The browser does not sort out already loaded/cachedscripts because jquery adds an additional flag to the url

[jQuery] [validate] required field keeps on appearing

2009-03-11 Thread exhaler
hi, i'm new to jquery, i'm currently using the validation plugin to validate my forms. here's my code script src=includes/jquery/jquery.validate.js type=text/ javascript/script script src=includes/jquery/cmxforms.js type=text/javascript/ script script type=text/javascript

[jQuery] Re: required field keeps on appearing

2009-03-11 Thread exhaler
u can go here http://goingpublic.me/newbr/add.php using FF or opera and press submit a couple of times and see what happens

[jQuery] Re: AutoComplete

2009-03-11 Thread Bright Dadson
You right! Quick question though! Do you know how i can make the script pass the character i type to be passed to the php script which intend return the search result matching the character in the textbox? I have type done something like this; echo Operator; in my php and that is all i see when

[jQuery] Re: Update DIV

2009-03-11 Thread mkmanning
In the docs under Ajax, see the load() method. http://docs.jquery.com/Ajax http://docs.jquery.com/Ajax/load#urldatacallback On Mar 11, 8:44 am, so.phis.ti.kat see.marlon@gmail.com wrote: Hello Everyone, I am looking to see if I should switch to jQuery but first need to find jQuery's

[jQuery] Re: AutoComplete

2009-03-11 Thread MorningZ
the characters the user types in is already added to the request to the test.php file and is query string parameter q if you fire up a tool like Firebug (for FireFox) or Fiddler (for IE) and you'll see this happening in real time On Mar 11, 12:35 pm, Bright Dadson brightdad...@googlemail.com

[jQuery] Re: Get Textbox-value and write to table-cell (td/td)

2009-03-11 Thread mkmanning
I believe Brian opted for the suggestion that doesn't involve string munging; it's just using the natural index of the elements, no slicing or dicing :) On Mar 11, 1:01 am, Josh Powell seas...@gmail.com wrote: *shrugs* up to you, brian means to use string.splice(a); where a = number of

[jQuery] Re: Superfish - Horizontal Internet Explorer Width Problem

2009-03-11 Thread Skedoozy
Help? On Mar 9, 1:28 pm, Skedoozy skedo...@gmail.com wrote: I have a horizontal navbar that if the persons screen is under 1024 wide it sticks out of the table. In Firefox it works fine so it's only an IE problem but one I need fixed. link

[jQuery] [cycle lite] stop after last image

2009-03-11 Thread id404
hi there, since im not quite familiar to javascript and jquery, it's kinda hard stuff for me to figure out how the cycle lite plugin really advances to the next image. so i'm asking the guys that know what they're doing: how can i make the jquery cycle lite-plugin, found at

[jQuery] Drag - Drop - with Layers

2009-03-11 Thread Paul Hutson
Hello, I've been having a problem with the UI.draggable and UI.droppable functionality. I've set up my screen like the following : http://outer-empires.com/images/Screenshots/inGame-SpaceStationHome.jpg At the bottom of the screen you can see the cargo and hanger area, people can pick up

[jQuery] Re: Update DIV

2009-03-11 Thread Paul Hutson
Ajax.Updater allows you to simply update the content of a DIV. If you want to go back to the super simple, you can update the inner content of a div with: $(#DIVID).html(CONTENT); i.e. : div id=blah/div script $(#blah).html(I've just been added to the div blah...); /script Therefore, on

[jQuery] Re: Superfish - Horizontal Internet Explorer Width Problem

2009-03-11 Thread Paul Hutson
I think it may be the table width your using for the section - you're saying that you'll allow a 516 pixel width for the table - so it keeps filling up the space. If you want it to act like it does in firefox you could fake it by putting a div on the right hand side of the page in a high up

[jQuery] Re: AutoComplete

2009-03-11 Thread Bright Dadson
You are absolutely right! it worked. The only thing is i cannot highlight on individual result. If i click on a select, the result from the database is taken. Do you know how to make sure i can hover on a single result and select? Thanks On Wed, Mar 11, 2009 at 4:57 PM, MorningZ

[jQuery] Re: Switching Content in same div

2009-03-11 Thread Paul Hutson
The following will give you a way to do what you want : script function UpdateMe(Type) { if (Type == Blue) { $(#AreaToView).HTML(Blue Stuff); } else { $(#AreaToView).HTML(Red Stuff);

[jQuery] Re: SimpleModal error in IE7

2009-03-11 Thread Eric Martin
Andrew, Typically this error is caused by binding issues. The best way to prevent it is to make sure that you do any binding of elements in the dialog in the onShow or onOpen callbacks. It is also a good idea to use the simplemodal-close class on elements that cause the dialog to close, as

[jQuery] Re: Drag - Drop - with Layers

2009-03-11 Thread Richard D. Worth
We'd love to help with this question over on the jQuery UI list: http://groups.google.com/group/jquery-ui - Richard On Wed, Mar 11, 2009 at 12:24 PM, Paul Hutson hutsonphu...@googlemail.comwrote: Hello, I've been having a problem with the UI.draggable and UI.droppable functionality. I've

[jQuery] Re: Drag - Drop - with Layers

2009-03-11 Thread Paul Hutson
On Mar 11, 6:03 pm, Richard D. Worth rdwo...@gmail.com wrote: We'd love to help with this question over on the jQuery UI list: http://groups.google.com/group/jquery-ui - Richard Apologies!, I've posted it over there now.

[jQuery] Re: Only show 5 list item, hide the rest?

2009-03-11 Thread mkmanning
And that's what I get for skipping the middle; basically the same solution as tres, just less code (and it works in IE6) :) On Mar 11, 11:21 am, mkmanning michaell...@gmail.com wrote: Here's a completely different (and admittedly problematic) approach. Instead of creating new markup with a

[jQuery] Re: jquery validate issues with IE

2009-03-11 Thread James
What if you split your messages up? messages: { name: { required: Namen eintragen } email: { required: Eine gültige Email-Adresse eintragen, email: Invalid email format

[jQuery] Recommend tree widget toolkit

2009-03-11 Thread Tim Johnson
Hello: If jquery itself does not support a tree widget toolkit, can anyone recommend one, I've tried dojo but two problems: 1)doesn't work - even verbatim example 2)No support 3)Very big system Any comments or recommendation welcome. thanks tim

[jQuery] Re: Switching Content in same div

2009-03-11 Thread ricardobeat
Can't you load both products, each in it's own container, and show/ hide them? That's easier and faster. div id=products div class=red /div div class=blue style=display:none /div /div $('#products .blue').show(); $('#products .red').hide(); etc. On Mar 11, 11:30 am, Desinger

[jQuery] Re: live() not working in IE8?

2009-03-11 Thread ricardobeat
How about $('#orderlineform #productlisting').load('orderProxy.cfm', { mode:'getAvailableProducts', ordergrade_id:ordergrade_id, order_id:order_id }, function(){ $(this).find('#product_id').change (isRentalActive); }); On Mar 11, 11:19 am, Todd Rafferty

[jQuery] Re: Only show 5 list item, hide the rest?

2009-03-11 Thread Brian
mkmanning, I want to thank you for your contribution. I was able to understand your example better (I just didn't get tres's version) and was able to come up with the following js/code combo: $(document).ready(function(){ $('ul').each(function(i) { var

[jQuery] Re: required field keeps on appearing

2009-03-11 Thread exhaler
i fixed the issue, turns out putting a form tag inside a table tag causes this problem

[jQuery] Re: live() not working in IE8?

2009-03-11 Thread Todd Rafferty
I've made too many changes to back up and check to see if this works, but I appreciate the help. Next time I run into this, I'll attempt this instead. On Mar 11, 3:35 pm, ricardobeat ricardob...@gmail.com wrote: How about $('#orderlineform #productlisting').load('orderProxy.cfm',    {      

[jQuery] Re: How to prevent third-party CSS code override our CSS

2009-03-11 Thread ricardobeat
Just wrap your re-usable parts in a container with an ID. IDs have greater weight on CSS rules, that will usually be enough. putting ! important on all your rules will bloat your code unnecessarily. See this article on CSS specifity:

[jQuery] Re: Only show 5 list item, hide the rest?

2009-03-11 Thread Brian
Is there anyway to account for padding on the li of each list? I have padding which seems to be throwing off the calculations. On Mar 11, 3:36 pm, Brian byano...@gmail.com wrote: mkmanning, I want to thank you for your contribution. I was able to understand your example better (I just didn't

[jQuery] Re: JQuery Form Validation Fancybox

2009-03-11 Thread MonkeyBall2010
Thanks! Now how do I use it?!?! Hahah. Specifically, let's say I wanted to check on the availablility of an email address. How do I pass that email address to my PHP script? I couldn't seem to locate an example on the server side script, only the JS. Tim On Mar 11, 3:11 am, Jörn Zaefferer

[jQuery] Autocomplete Combobox

2009-03-11 Thread Pedram
Dear folk, recently I found jQuery plug in that allows you to have a auto complete Combo box so you could have combo box and a auto complete functionality at the same time does anyone has a link . thanks I really appreciate it

[jQuery] retrieve value with JQuery

2009-03-11 Thread Chuk
Hi. In one of my functions, I would like to test the value of a certain field with an id=zipCode. Here is my current code: function retrieveCityState() { if ($('#zipCode').value.length 4) { ... } } This test doesn't seem to work. How do I correctly handle this using JQuery?

[jQuery] Re: retrieve value with JQuery

2009-03-11 Thread mkmanning
If #zipCode is an input: $('#zipCode').val().length On Mar 11, 1:20 pm, Chuk violinssoundc...@gmail.com wrote: Hi.  In one of my functions, I would like to test the value of a certain field with an id=zipCode.  Here is my current code: function retrieveCityState() {   if

[jQuery] Re: retrieve value with JQuery

2009-03-11 Thread James
$('#zipCode').val().length On Mar 11, 10:20 am, Chuk violinssoundc...@gmail.com wrote: Hi.  In one of my functions, I would like to test the value of a certain field with an id=zipCode.  Here is my current code: function retrieveCityState() {   if ($('#zipCode').value.length 4)   {    

[jQuery] Safari + triggerTab() = fail

2009-03-11 Thread ZAP
Hello - I'm using Klaus' Tabs plugin (Version: 2.7.4) with jQuery 1.2.6, but the triggerTab() function just isn't working for me in Safari 3. No matter how I create Back and Next buttons or links, Safari instead tries to load a new page (e.g., http://mydomain.com/?#start) instead of switching

[jQuery] Re: Only show 5 list item, hide the rest?

2009-03-11 Thread mkmanning
You could add the padding to the calculation, but that's pretty ugly. Instead you could calculate the height differently, for each LI element (this would also take into account if any LI's wrapped due to content length): CSS: ul { width:100px; } li{ padding:5px; } HTML: a href=#

[jQuery] [validate] email validation doesn't work!

2009-03-11 Thread mcreisi
hi, Is there a fix for email validation? at this time also emails like a...@e.f are valid. I like that validation script, but it is not really usefull if the validation of an email doesn't work. best regards, mcreisi

[jQuery] jquery

2009-03-11 Thread Pavel Philippenko
Can You please remove me from jquery newsletter

[jQuery] onchange input

2009-03-11 Thread dziobacz
I have: form method=post action=/rejestracja table input type=text name=sf_guard_user[username] id=sf_guard_user_username //td input type=submit name=register value=Zarejestruj / /form p id=information/p I would like after each change in input 'sf_guard_user_username' write something

  1   2   >