[jQuery] jQuery select all vs conventional javascript

2008-11-19 Thread JQueryProgrammer
Hi All, I have been using jQuery for quite some time now. For one of my projects, I needed to select all the options in the listbox which were 10,000+. I tried to do a comparison between using jQuery and conventional javascript and here are my findings: 1. With jQuery: Code: $("#myL

[jQuery] Re: Searching for the previous sibling that matches a condition

2008-11-19 Thread Karl Swedberg
Not sure if you can get any cleaner than that, but if you want to chain off of it, you could do something like this: $(theTr).filter(function() { var $this = $(this); return $this.prev('.departmentrow').length && ($this.next('.departmentrow').length || $this.is(':last-child')); }) --Karl

[jQuery] Re: $('#id').width()

2008-11-19 Thread Lee Mc
The example HTML only has a single text input, it's this input I'm having issues with. Apologies, the example HTML gave the field a different ID than the JS contained. Im copying the code from an in process project so it's stripped down for readability. Therefore the different ID in my HTML is ju

[jQuery] Re: Need to reference an object enbedded in a $this

2008-11-19 Thread Michael Geary
Here you go: http://docs.jquery.com/Core/jQuery#expressioncontext -Mike > From: lwoods > > I figured out the "find" solution but I am curious about the > format you are > using: $(xxx,xxx). I have not seen that format. I gotta' go > digging for more info on that.

[jQuery] Re: Need to reference an object enbedded in a $this

2008-11-19 Thread lwoods
Thanks, Hector... Larry Woods Hector Virgen wrote: > > You can use jQuery#find() > > $(this).find('a').css("color", "red"); > > That will turn all hyperlinks within "this" red. > > -Hector > > > On Wed, Nov 19, 2008 at 8:17 PM, George <[EMAIL PROTECTED]> wrote: > >> >> I meant all A lin

[jQuery] Re: Need to reference an object enbedded in a $this

2008-11-19 Thread lwoods
Thanks, George I figured out the "find" solution but I am curious about the format you are using: $(xxx,xxx). I have not seen that format. I gotta' go digging for more info on that. Thanks Larry Woods George-147 wrote: > > > you can do > $('a', $(this)).css("color", "red"); > > But

[jQuery] Re: asp.net and jquery - reactions to this letter

2008-11-19 Thread Mike Nichols
Probably any complaints would only come from users of the WebForms model, not asp.net MVC or Monorail. The debugging argument just points to a need for a better testing setup...unit tests maybe?

[jQuery] Re: Need to reference an object enbedded in a $this

2008-11-19 Thread Hector Virgen
You can use jQuery#find() $(this).find('a').css("color", "red"); That will turn all hyperlinks within "this" red. -Hector On Wed, Nov 19, 2008 at 8:17 PM, George <[EMAIL PROTECTED]> wrote: > > I meant all A links inside that the one that is in $(this) > > On Nov 19, 11:14 pm, George <[EMAIL

[jQuery] Re: asp.net and jquery - reactions to this letter

2008-11-19 Thread ajpiano
sounds like someone wants to complain about his lack of a clue rather than get one. --adam On Nov 19, 4:48 pm, Berke <[EMAIL PROTECTED]> wrote: > I have been the sole developer for the last 9 months on a site that > was using ASP.Net Web Forms, & Component Art's Controls when I > inherited it si

[jQuery] Re: Need to reference an object enbedded in a $this

2008-11-19 Thread George
I meant all A links inside that the one that is in $(this) On Nov 19, 11:14 pm, George <[EMAIL PROTECTED]> wrote: > you can do > $('a', $(this)).css("color", "red"); > > But it will change all A links > > George > > On Nov 19, 7:18 pm, lwoods <[EMAIL PROTECTED]> wrote: > > > > > I have an action

[jQuery] Re: $('#id').width()

2008-11-19 Thread CodingCyb.org
Sorry it took so long for a reply... Where in the html is "#test_field" ? That's what the field_img goes after, but I'm not sure where that is... On Nov 19, 9:39 am, Lee Mc <[EMAIL PROTECTED]> wrote: > Hi, yes I think you've misunderstood my problem. > > In a nutshell, there is an on tab 1. On

[jQuery] Re: Need to reference an object enbedded in a $this

2008-11-19 Thread George
you can do $('a', $(this)).css("color", "red"); But it will change all A links George On Nov 19, 7:18 pm, lwoods <[EMAIL PROTECTED]> wrote: > I have an action function where I have $(this).  Now I need to change the css > for a link ( ) that is inside the $(this) .  How do I reference it?  In m

[jQuery] Re: How to update multiple div on ajax success

2008-11-19 Thread Hector Virgen
For multiple updates with one ajax call, you might want to try sending back a JSON response. For example, in PHP you could do this: 'Username', 'test2' => 'Thank you for subscribing' ); echo json_encode($response); ?> Then, in your JS file, your ajax call would look something like this (u

[jQuery] Re: ajaxsubmit with autosave feature

2008-11-19 Thread Daniel
I have just checked your new solution with setTimeout. It should produce similar result if you change the ajaxForm to ajaxSubmit. Daniel. On Nov 20, 4:10 am, anny <[EMAIL PROTECTED]> wrote: > Daniel, > > Thank you for the reponse. > > I tried this , but does not work. Firfox hangs at everyTime >

[jQuery] Re: ajaxsubmit with autosave feature

2008-11-19 Thread Daniel
You should change ajaxForm to ajaxSubmit as ajaxForm doesnt submit the Form for you. It will just prepare the Form and submit it when you press Submit I think. You can refer to the documentation for more information. $(document).ready(function(){ $('#formLoad').everyTime(

[jQuery] Re: How to update multiple div on ajax success

2008-11-19 Thread wsjquery
hi Mike, Thanks very much for the reply. In my php file that processes the form, how would I tell where each results goes. Do I place each in a div with the same id as the targets? Example php file Username Thank you for subscribing Thanks again for you help. Great plugin! On Nov 19, 9:55 p

[jQuery] linkselect plugin problem (related hover gets deactivated) -- help please

2008-11-19 Thread clorentzen
I'm using the linkselect plugin to replace select objects in forms with a custom look... The issue I'm having is that when these occur in navigation menus/panels that appear on hover, hovering down onto the replaced select object listing causes the actual navigation menu to disappear, as if the ho

[jQuery] Re: How to update multiple div on ajax success

2008-11-19 Thread Mike Alsup
>  target:        '#test1 #test2',   // target element(s) to be updated Just change that to: '#test1,#test2' The target option takes a normal jQuery selector string. Mike

[jQuery] Need to reference an object enbedded in a $this

2008-11-19 Thread lwoods
I have an action function where I have $(this). Now I need to change the css for a link ( ) that is inside the $(this) . How do I reference it? In my example, the $(this) references a and I want to change the text color in a that is within this . -- View this message in c

[jQuery] jQuery tabs: want ajax call to only fire once

2008-11-19 Thread nemozob
I'm using jQuery tabs and wanted to load the non-active tab content via ajax. It looks like the default method loads the remote content each time. What I'd like to do is have it load only once when the respective tab is clicked. I haven't explored other options yet but I imagine I can write a cus

[jQuery] [validate] - Multi-lingual Error Messages

2008-11-19 Thread MojoMark
Is there a way to change the text of the error messages? I'm doing a multi-lingual app and want to change the text based on the language preference of the user.

[jQuery] [autocomplete] match inside the word with local data

2008-11-19 Thread Joaquin Windmüller
I'm trying to create an autocomplete that matches "foobar" and "foobaz" when you write "ba". This behavior can be seen in the demos but only in the backend code and not in the ones that work with local data (which is my case). How can that be done?

[jQuery] Changing Colspans with Jquery, IE6

2008-11-19 Thread pijgu
Hi guys, Hoping you can help me out. I've got a scenario where my table is as so: Section Heading Section content lots and lots of paragraphs... Section Heading Section content lots and lots of paragraphs... The situation is that the table is "collapsable". I

[jQuery] Searching for the previous sibling that matches a condition

2008-11-19 Thread go_dores
First of all, I'm just getting started with jQuery so thanks in advance for your patience. I have a table that I am manipulating and I need to remove a row under a certain condition. I originally wrote the test below: if (theTr.previousSibling && theTr.previousSibling.className == "headerrow" &

[jQuery] How to update multiple div on ajax success

2008-11-19 Thread wsjquery
Hi, I am using this plugin to submit my form. http://www.malsup.com/jquery/form/#code-samples Everything works great except that I would like to update more than one div with separate data after a successful form submit. Example: Something here Something else here target:'#test1 #tes

[jQuery] Re: Pause between each()

2008-11-19 Thread Michael Geary
Here's a little plugin that may be what you're looking for: jQuery.fn.slowEach = function( interval, callback ) { var array = this; if( ! array.length ) return; var i = 0; next(); function next() { if( callback.call( array[i], i, array[i] )

[jQuery] Re: cluetip - how to override defaults?

2008-11-19 Thread Karl Swedberg
that's odd. do you have a test page I can look at? thanks, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 19, 2008, at 2:41 PM, Brian J. Cohen wrote: If I just include the cluetip JS and CSS, I can activate cluetip pretty easily, with its default set

[jQuery] Re: Pause between each()

2008-11-19 Thread Jeffrey Kretz
Off the top of my head (untested, sorry) var things = $('things'); var index = 0; things.eq(0).doStuff(); var fn = function() { index++; things.eq(index).doStuff(); setTimeout(fn,1000); }; setTimeout(fn,1000); -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PR

[jQuery] child window ready()?

2008-11-19 Thread dickles
Hi, I posted a question a couple of weeks ago but didn't get a response. Even if you don't know for sure, any ideas might help! What I want to do seems pretty simple. I want to pop open a window from a page, and from the parent I would like to use ready() to know when the popup's DOM is ready. S

[jQuery] Pause between each()

2008-11-19 Thread d . williams
Hi, all. I was wondering how I insert a pause between moving to the next item in an each function. Pseudo-code: $('things').each(function() { \\ do suff sleep(5000); }); I know I need to use setTimeout, but I'm not sure how to pass setTimeout an iterator so the next item is passed.

[jQuery] Re: dynamic content (JSON) rendering

2008-11-19 Thread Yazan
Er sorry to clutter your inboxes... I figured it out. I was omitting the callback parameter in my URL, after I added that back in, it worked. Thanks for reading. On Nov 19, 7:28 pm, Yazan <[EMAIL PROTECTED]> wrote: > Hi all, > > I am trying to use the cluetip plugin to display some information I'

[jQuery] Re: Submit text entered as-is, without replacing value with autocomplete

2008-11-19 Thread thierry
My bad. I found it. For anyone having the same issue, selectFirst (false) option is the one to use. On Nov 19, 4:42 pm, thierry <[EMAIL PROTECTED]> wrote: > Hi guys, > > I have a search input with an autocomplete to help find items, but > this search can also search partial words. > Example: User

[jQuery] [autocomplete] Submit text entered as-is, without replacing value with autocomplete

2008-11-19 Thread thierry
Hi guys, I have a search input with an autocomplete to help find items, but this search can also search partial words. Example: User input 'cal', autocomplete provides calendar and calamari. Then user hits enter, I want to submit only 'cal'. Right now autocomplete fills in the value with the firs

[jQuery] Re: JS Inside of a Div loaded with $("#content").load("..")...

2008-11-19 Thread TI Wizard
Very interesting... It alerts "undefined"... And guess what, it is because the JS file doesn't even exist. Funny how problems can have such simple solutions. Thanks! On Nov 19, 4:26 pm, "Hector Virgen" <[EMAIL PROTECTED]> wrote: > I'm not too sure if $(document).ready() works properly in ajax r

[jQuery] [cluetip] dynamic content (JSON) rendering

2008-11-19 Thread Yazan
Hi all, I am trying to use the cluetip plugin to display some information I'm pulling from a $.getJSON call. Perhaps it's obvious to someone what the best way to do this is. Right now, I'm having some difficulty getting the content to display. Here's what I have: There's a hidden div, let's call

[jQuery] Re: JS Inside of a Div loaded with $("#content").load("..")...

2008-11-19 Thread Hector Virgen
I'm not too sure if $(document).ready() works properly in ajax requests. I could be wrong, but I think the document was ready *before* the ajax call was made. In other words, the function will be called immediately as soon as its created. Unless jquery knows to wait until the ajax call is complete

[jQuery] Re: Resize an element without affecting the layout

2008-11-19 Thread Karl Rudd
Tables at difficult beasts, they're built to expand with their content. If you want an image that is in a table cell to (appear) to expand over the top of (and outside the bounds of) the cell then you'll have to something like: - duplicate the image element - insert the duplicate image outsi

[jQuery] Re: JS Inside of a Div loaded with $("#content").load("..")...

2008-11-19 Thread TI Wizard
Sure: (Not sure if there is a codebox tag...) With the table DnD plugin, //PAGE LOADED WITH AJAX $(document).ready(function(){ $("#contentTbl").tableDnD(); }); //END JS ON PAGE LOADED THROUGH AJAX Seems odd it would just die with non-Jquery default and UI stuff... Also, I have another pag

[jQuery] Re: How to get title text from enclosing tag?

2008-11-19 Thread Ashish
Thanks Hector your solution worked. Another solution that worked as well was to use Jquery to add onclick handler and put it in jquery's $(document).ready block. thank again. Ashish On Nov 19, 3:52 pm, "Hector Virgen" <[EMAIL PROTECTED]> wrote: > This should properly set the "this" value in

[jQuery] Re: How to get title text from enclosing tag?

2008-11-19 Thread Hector Virgen
This should properly set the "this" value in the called function (it's not jquery, though): -Hector On Wed, Nov 19, 2008 at 3:49 PM, Ashish <[EMAIL PROTECTED]> wrote: > > Thanks, > > but looks like I am making some newbie mistake where $(this) does not > seem to be working. This is the functi

[jQuery] Re: How to get title text from enclosing tag?

2008-11-19 Thread Rik Lomas
Try this instead: var desc = $(this).parent().attr('title'); Rik 2008/11/19 Ashish <[EMAIL PROTECTED]>: > > Thanks, > > but looks like I am making some newbie mistake where $(this) does not > seem to be working. This is the function being called in onclick in > tag. > > function showinfo(){ >

[jQuery] Re: How to get title text from enclosing tag?

2008-11-19 Thread Ashish
Thanks, but looks like I am making some newbie mistake where $(this) does not seem to be working. This is the function being called in onclick in tag. function showinfo(){ var desc =$(this).parents('td[title]:eq(0)').attr('title'); var show = ' Description: ' + desc +''; $.mod

[jQuery] Re: slideToggle on checkbox

2008-11-19 Thread R3D
OK, I can see the point about browser cache. And no, the user should not refresh (or go back from the result page), but I am sure some will do so anyhow. Then this will become confusing, since the checkmark is there, but the form in the hidden div stays closed. As to this being a browser problem,

[jQuery] Re: JS Inside of a Div loaded with $("#content").load("..")...

2008-11-19 Thread Hector Virgen
Can you post some sample code? It might be a syntax error. -Hector On Wed, Nov 19, 2008 at 3:45 PM, TI Wizard <[EMAIL PROTECTED]> wrote: > > Anyone? > > On Nov 18, 7:58 pm, TI Wizard <[EMAIL PROTECTED]> wrote: > > Javascript and default JQuery (and UI) stuff works inside of a DIV > > which was l

[jQuery] Re: JS Inside of a Div loaded with $("#content").load("..")...

2008-11-19 Thread TI Wizard
Anyone? On Nov 18, 7:58 pm, TI Wizard <[EMAIL PROTECTED]> wrote: > Javascript and default JQuery (and UI) stuff works inside of a DIV > which was loaded with the Ajax Load function.. However, plugins > don't... > > How can I get the javascript to work inside of the div that was > loaded? Tried mu

[jQuery] Searchbox - Search into a Page - only in letters a-z

2008-11-19 Thread [EMAIL PROTECTED]
My question in like this: I use jquery-1.2.6.min and have created a function (thanks to Waldek at Imtech who has opened the port from SharePoint to Jquery) wich contains a search box in a regular ASPX- file, when you search in the box for ex as, all the words in the content on the page are highlig

[jQuery] Searchbox - Search into a Page - only in letters a-z

2008-11-19 Thread [EMAIL PROTECTED]
Hi Dudes! My question in like this: I use jquery-1.2.6.min and have created a function (thanks to Waldek at Imtech who has opened the port from SharePoint to Jquery) wich contains a search box in a regular ASPX- file, when you search in the box for ex as, all the words in the content on the page a

[jQuery] Re: How to add html do a div properly? (html(), val(), or text() ?)

2008-11-19 Thread Rik Lomas
As Pierre says, html() will add full html whereas text() will turn any tags into entities, for example: $('div').html('bold'); will output bold into the DOM, whereas $('div').text('bold'); will output bold - which is the string version of the HTML - into the DOM Rik 2008/11/19 Pierre Bel

[jQuery] Re: Firefox problems ( with input reg. exp. verification).

2008-11-19 Thread Rik Lomas
I've simplified your code for you and sped up your testing by using the regular expression "test()" method $(document).ready(function(){ $('input#domain').keyup(function(){ var domain = $(this).val(); var reg = /^([a-z0-9]+(\-?\.?[a-z0-9]*)){2,63}\.([a-z]){2,4}$/i ; if (reg.test(dom

[jQuery] blockUI, select box and IE6 (again)

2008-11-19 Thread Brad
I'm having the same problem that is documented at http://groups.google.com/group/jquery-en/browse_thread/thread/976e49897120d95c?tvc=2, but can't reply to that thread (too old?). To summarize the problem, with IE6, when blockUI is called the select boxes dissappear. When unblockUI is called they

[jQuery] Re: How to get title text from enclosing tag?

2008-11-19 Thread Hector Virgen
If the image is clicked, you can then traverse up the dom to the parent td with a title. $(this).parents('td[title]:eq(0)').attr('title'); // returns the value of the 'title' attribute -Hector On Wed, Nov 19, 2008 at 3:14 PM, Ashish <[EMAIL PROTECTED]> wrote: > > > >

[jQuery] How to get title text from enclosing tag?

2008-11-19 Thread Ashish
What I want is when some one clicks on the image in showinfo() javascript function I can retrieve the value of "title" from the enclosing td tag. In this case the value returned should be"This is the description from db" Please note that t

[jQuery] Re: attaching hide() to delete confirmation

2008-11-19 Thread typenerd
This is what I ended up with: $('a.delete').click(function() { var msg = 'Are you sure?'; if (confirm(msg)) { $(this).parents('tr').hide(); } else { return false; } -- View this message in context: http://www.nabble.com/attaching-hide%28%29-to-delete-confirmation-

[jQuery] Re: How to add html do a div properly? (html(), val(), or text() ?)

2008-11-19 Thread Pierre Bellan
Hello, val() is for the form element ( input, select ), to get/set the value html() is what i use to add small html inside an element. I use the append method when the html to add is huge. i have never used the text() method. I understand that the text() method is like a php:strip_tags function

[jQuery] Re: QUnit: Test that "submit" is called on a form

2008-11-19 Thread todd
Rather hackish, but I've solved the problem with the following: var didSubmit = false; $('#theform').bind('submit', function() { didSubmit = true; return false; }); //The call that causes the form to submit ok (didSubmit, "Form should be submitted"); Thanks! On Nov

[jQuery] Re: help with hover function

2008-11-19 Thread Andy Matthews
The hover method is your best bet. It might look like this based on your example: $("li > a").hover(function(){ alert('mouse over'); },function(){ alert('mouse out'); }); -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JamesLo

[jQuery] Re: IE6 crashes while loading xml through $.get function

2008-11-19 Thread bytte
Any idea why IE6 keeps crashing? On 14 nov, 14:45, bytte <[EMAIL PROTECTED]> wrote: > I'm loading an xml file of 88kb through jQuery's GET function. But IE6 > crashes. Is there a better way to load an xml file than the one I'm > using? Code below: > > $(document).ready(function(){ > >         $.ge

[jQuery] autosave with AjaxForm

2008-11-19 Thread anny
Hi, Trying to autosave form with AjaxForm (Form plug-in). script runs with time interval but form is not submitted. I see that save() function is called and does show alert("end of save"); but form is not submitted. Here is the code. // wait for the DOM to be loaded $(docu

[jQuery] AjaxForm with autosave

2008-11-19 Thread anny
Hi, Trying to autosave form with AjaxForm (Form plug-in). script runs with time interval but for is not submitted. I see that save() function is called and does show alert("end of save"); but form is not submitted. Here is the code. // wait for the DOM to be loaded $(document

[jQuery] Re: SimpleModal

2008-11-19 Thread Matt
Try: $.modal.close(); Matt On Nov 19, 12:02 pm, tiny_jason <[EMAIL PROTECTED]> wrote: > When calling the close function in javascript it throws an error. I > dont want to have to have an tag to close the modal. How do i just > call a function to close the modal in js? Heres the  code i use: >

[jQuery] Re: asp.net and jquery - reactions to this letter

2008-11-19 Thread Berke
I have been the sole developer for the last 9 months on a site that was using ASP.Net Web Forms, & Component Art's Controls when I inherited it since then I have added many of the controls from their Ajax toolkit and within the last month have started using jquery. So far I have had zero clashes,

[jQuery] QUnit: Test that "submit" is called on a form

2008-11-19 Thread todd
I'm new to QUnit (and to JQuery for that matter). I have a function that calls "submit" on a form and am looking for a way to mock the form, or at least intercept the call to submit. I want to test that the form is getting submitted, but I don't want the submit to actually occur. Any suggestions?

[jQuery] help with hover function

2008-11-19 Thread JamesLov
Hi, I have been using jquery for several projects and I am very happy with how easy it is to use. I need some help with (I think) chaining functions, or using callbacks because I'm not sure I quite understand how to tell jquery to go like this: mouseEnter -> do this -> stop -> do this Specific

[jQuery] SimpleModal

2008-11-19 Thread tiny_jason
When calling the close function in javascript it throws an error. I dont want to have to have an tag to close the modal. How do i just call a function to close the modal in js? Heres the code i use: shows modal: $('#modalDealerContent').modal(); To close modal: $('#modalDealerContent').modal.c

[jQuery] Superfish

2008-11-19 Thread Mike521
Hi all, I have a couple questions about the superfish navigation menu (http://users.tpg.com.au/j_birch/plugins/superfish/#examples) First is that the menu claims to degrade nicely when javascript is turned off -- but for me when I disable JS and hover over the menus, nothing happens. Even looking

[jQuery] How to add html do a div properly? (html(), val(), or text() ?)

2008-11-19 Thread ginko100
Hello, what's the difference between: html(); val(); text(); what's the best way to add html to a div?? thanks.

[jQuery] jQuery that doesn't allow the fade effect to work in Safari

2008-11-19 Thread sutra
Hi, I am curious if this bug fixes yet in the latest version? I am using Galleria for a site, and the images are loaded from cache, in Safari (Mac version), images somehow disable. Google for answer and I found a clue from here: http://jqueryfordesigners.com/image-loading/ quote: @Ryan - do you

[jQuery] cluetip - how to override defaults?

2008-11-19 Thread Brian J. Cohen
If I just include the cluetip JS and CSS, I can activate cluetip pretty easily, with its default settings, by setting class="cluetip" on tags. I want to override those defaults. For example, I tried setting: $(document).ready(function() { $("a.cluetip").cluetip({ activation: 'click' }); })

[jQuery] Re: BlockUI Auto-Unblock

2008-11-19 Thread Mike Alsup
>         $.pause(2000, 'fx').unblockUI(); Just set a timeout: setTimeout(2000, $.unblockUI);

[jQuery] jqModal Error

2008-11-19 Thread dacoder
I am using jqModal for various overlays and what not. I seem to get this error a lot Components is not defined at line 64 Everything always works fine but I hate to have a javascript error showing. I'm just wondering if anyone else has had this problem or what might be causing it.

[jQuery] Re: How to prevent easing on .animate()

2008-11-19 Thread ricardobeat
You can either do: $('#gClone0').animate({top: -allH},{ easing: "linear", duration:3, complete: function(){ //callback } }); or $('#gClone0').animate({top: -allH}, 3, "linear", function(){ // callback }); Check the documentation page I linked, it's all in there

[jQuery] Re: ajaxsubmit with autosave feature

2008-11-19 Thread anny
Daniel, Thank you for the reponse. I tried this , but does not work. Firfox hangs at everyTime (1000,. Do i need to unclude any jquery files? right now i have only 3 files, form.js and jquery.js , timers.js $(document).ready(function(){ $('#form').everyTime(1000,

[jQuery] Re: ajaxsubmit with autosave feature

2008-11-19 Thread anny
Forgot to mention that i have included jquery.timers.js file also. On Nov 19, 1:16 pm, anny <[EMAIL PROTECTED]> wrote: > Daniel, > > Thank you for the reponse. > > I tried this , but does not work. Firfox hangs at everyTime > (1000,.  Do i need to unclude any jquery files for timer function?

[jQuery] Re: Underline stroke/height with Jquery css?

2008-11-19 Thread ricardobeat
jQuery can only work with the DOM and CSS, it has no special abilities. And it certainly couln't style text inside a flash movie. If that's necessary, you'll have to use an image positioned on top of the text. - ricardo On Nov 19, 3:33 pm, Pete <[EMAIL PROTECTED]> wrote: > What's wrong is that I

[jQuery] Re: ajaxsubmit with autosave feature

2008-11-19 Thread anny
mamuso , Thanks for the response. Do you any example on how to use it? On Nov 19, 3:04 am, manuel muñoz solera <[EMAIL PROTECTED]> wrote: > Hi anny > > I was using this in an old > projecthttp://www.webunity.nl/js/framework/periodicalUpdate.js > > I don't know if there is something better or if

[jQuery] [validate] date validation (mm/dd/yyyy) question

2008-11-19 Thread osb
I actually have a couple questions about the jquery validation plugin... if i had a field asking for a date in mm/dd/ format... there is no validating if the date is correct... if someone puts 2/31/2009 - it would show valid... and if someone puts like 2/31/5990, it would still show valid...

[jQuery] [new plugin] citizenColor add HSL support to $.fn.animate

2008-11-19 Thread lrbabe
Hello everybody, I have created a plugin to jQuery that add ability to do HSL colors animation on your document. If you have ever wanted to do animations such as $('h1').animate({color: 'hsl(128,70%,20%)'}); or even $('body').animate({backgroundColor: hsl(+=0,+=0%,+=50%)}); $('h1').animate({color

[jQuery] Superfish "rise up" menu

2008-11-19 Thread lgeck
Is it possible to have the sub-items of the menu go up, instead of dropping down? For example: putting a menu at the bottom of a page.

[jQuery] Re: jQuery not working - please help

2008-11-19 Thread Michael Geary
Just to clarify, that code fixes the problem, but not because of using $ instead of jQuery. What fixed it was removing the two extraneous dots. -Mike > From: c.barr > > Use a $ selector instead of jQuery > > $(document).ready(function() { > $('#regpage h3 > a').click(function () { >

[jQuery] Re: Jquery + Struts

2008-11-19 Thread Bhavin
Hi George, Thanks for your response. I will see form-plug-in as per your suggestion. But I doubt whether I would be able to interact with Struts form using that. Thanks, Bhavin On Nov 18, 7:15 pm, George <[EMAIL PROTECTED]> wrote: > I'll try to answer. > I do not know what 'struts' is. but

[jQuery] Re: Jquery + Struts

2008-11-19 Thread Bhavin
Hi Youssef, I have constraint to use struts 1. "action" attribute is mandatory with tag. I can not avoid it. I think, struts 1 has constraint to work with Ajax as per their framework specification and that would be the reason Struts 2 has lots of changes... I would appreciate if you can point m

[jQuery] Re: jQuery not working - please help

2008-11-19 Thread Hector Virgen
There is a problem with your syntax. There's no dot between jQuery and (). jQuery(document).ready(function () { jQuery('#regpage h3 > a').click(function () { alert('hello'); return false; }); }) -Hector On Wed, Nov 19, 2008 at 10:31 AM, c.barr <[EMAIL PROTECTED]> wrote: > >

[jQuery] Re: jQuery not working - please help

2008-11-19 Thread Michael Geary
There's no need to shout, we can hear you OK. :-) Take out the . after jQuery (in both places). Also add a semicolon at the end for safety. jQuery(document).ready(function () { jQuery('#regpage h3 > a').click(function () { alert('hello'); return false; }); }); A tip for

[jQuery] BlockUI Auto-Unblock

2008-11-19 Thread QuadCom
I am trying to get blockUI to display a temporary alert that will last for X seconds and then automatically unblock. I have be [EMAIL PROTECTED]@'ing around with the pause plug in but I have never been able to get that thing to work at all. I am also using the forms plugin to process the form. He

[jQuery] Re: jQuery not working - please help

2008-11-19 Thread c.barr
Use a $ selector instead of jQuery $(document).ready(function() { $('#regpage h3 > a').click(function () { alert('hello'); return false; }); }); On Nov 19, 10:53 am, DanDaBeginner <[EMAIL PROTECTED]> wrote: > I have been searching on the net for 5 hours already but can't fi

[jQuery] Re: Finding matching classes

2008-11-19 Thread alanfluff
WOW! MuCH respect and thanks to you Hector. I am most grateful (again!). Cheers! -Alan On Nov 19, 1:04 pm, "Hector Virgen" <[EMAIL PROTECTED]> wrote: > Oops, 'class' is a reserved word. I also had a typo in the function.. I > tested this code and it works: > $.each($(document.body).attr('clas

[jQuery] Re: Js traditional to jquery syntax.... how?

2008-11-19 Thread aquaone
$("select").val(value); // for simple select $("select").val([value1,value2]); // for select multiple stephen On Wed, Nov 19, 2008 at 10:15, Andrea - Aosta <[EMAIL PROTECTED]> wrote: > > i Have this traditional style js script > > > function Select_Value_Set(SelectName, Value) { > eval('SelectO

[jQuery] Show and hide a list of divs according to anchored ID

2008-11-19 Thread Paul Collins
Hi all, I'm trying to find a reference here and having troubles. Would really appreciate if someone can point me to a tutorial. Basically, I have a list of anchored links that point to content with matching ID's on the same page. With Javascript on, I want to hide all except the first when you c

[jQuery] Re: ajaxsubmit with autosave feature

2008-11-19 Thread anny
Daniel, Thank you for the reponse. I tried this , but does not work. Firfox hangs at everyTime (1000,. Do i need to unclude any jquery files for timer function? right now i have only 2 files, form.js and jquery.js $(document).ready(function(){ $('#form').everyTime(

[jQuery] Js traditional to jquery syntax.... how?

2008-11-19 Thread Andrea - Aosta
i Have this traditional style js script function Select_Value_Set(SelectName, Value) { eval('SelectObject = document.' + SelectName + ';'); for(index = 0; index < SelectObject.length;index++) { if(SelectObject[index].value == Value) SelectObject.selectedIndex = index; } } s

[jQuery] Re: Finding matching classes

2008-11-19 Thread Hector Virgen
Oops, 'class' is a reserved word. I also had a typo in the function.. I tested this code and it works: $.each($(document.body).attr('class').split(' '), function(key, value) { $('h3.' + value).addClass('foundMatch'); }); -Hector On Wed, Nov 19, 2008 at 10:00 AM, alanfluff <[EMAIL PROTECTED]>

[jQuery] Re: IE problems with jQuery

2008-11-19 Thread Tbone
The extra comma was indeed the problem!! Thanks much Mike!! On Nov 18, 5:01 am, Mike Alsup <[EMAIL PROTECTED]> wrote: > [ 1, 2, 3, ]  // IE chokes on the last comma > > Mike

[jQuery] Re: Finding matching classes

2008-11-19 Thread alanfluff
Hey Hector, Thanks lots for looking at this for me -- I tried it and it doesn't seem to add the class. A typo maybe? I've tried commenting out all my jQuery (not much) in case it conflicted, but no change. Thanks again very much, for your reply. Cheers, -Alan On Nov 19, 11:35 am, "Hector Virg

[jQuery] Re: How to position a footer always at bottom?

2008-11-19 Thread alanfluff
Yes, CSS can do this, you may find if your page uses floats, that this may have problems, but this is the most robust solution I have seen (cross browser) with CSS: http://www.themaninblue.com/writing/perspective/2005/08/29/ Good luck! Cheers, -Alan On Nov 19, 5:24 am, Liam Potter <[EMAIL PROTE

[jQuery] Re: Resize an element without affecting the layout

2008-11-19 Thread vani
Thanks for replying, but I'm still having trouble making it work. I tried to set the table to relative and img to absolute but it didn't work as intended. This is the layout of the table: ...I'm trying to resize the img elements. On 19 stu, 18:15, Liam Potter <[EMAIL PROTECTED]> wrote: >

[jQuery] Re: Detecting a click "off" an element

2008-11-19 Thread Hector Virgen
That depends. If your popup is a child-element of the overlay, then clicking the popup will fire the click event of the overlay. So you should make them sibling elements: -Hector On Wed, Nov 19, 2008 at 9:40 AM, jonhobbs <[EMAIL PROTECTED]> wrote: > > Liam, > > That sounds interesting, pres

[jQuery] Re: Detecting a click "off" an element

2008-11-19 Thread jonhobbs
Liam, That sounds interesting, presumably my popup will be the only thing with a z-layer higher than the overlay so the overlay wouldn't receive the click event if the popup was clicked? Jon On Nov 19, 5:28 pm, Liam Potter <[EMAIL PROTECTED]> wrote: > just also create a transparent fullpage ove

[jQuery] Re: Detecting a click "off" an element

2008-11-19 Thread jonhobbs
Hi Donald, I can't help feeling that if I google "sticky hover" I might not like what I find but I'll give it a go. Thanks On Nov 19, 5:19 pm, "Donald J. Organ IV" <[EMAIL PROTECTED]> wrote: > Sounds like you want a sticky hover. > > > > > > - Original Message - > From: "jonhobbs" <[E

[jQuery] Re: asp.net and jquery - reactions to this letter

2008-11-19 Thread George Adamson
I'm very surprised by his comments. We always rely on jQuery to get grips with the monster that is ASP.Net+AJAX.Net, regardless of project size. jQuery's extraordiary convenience requires a slightly different mindset from conventional .net languages (one that I miss on the server side!) so perhap

[jQuery] Re: Underline stroke/height with Jquery css?

2008-11-19 Thread Pete
What's wrong is that I'm using sIFR to style the font. So using border-bottom styles the block element across the page instead of underlining just the text. There is an underline method in the sIFR plugin that I'm using, but it also does not allow for height. On Nov 19, 10:29 am, Liam Potter <[

  1   2   >