[jQuery] Re: how to eliminate easing on animation?

2008-06-26 Thread andrea varnier
On 26 Giu, 00:02, Ariel Flesler [EMAIL PROTECTED] wrote: Yay! it works! thanks Ariel, you ROCK!! ^^ another pointer. I'm using an ul, as said. the cycle option doesn't seem to have any effect. after finishing with the last element it returns to the first, by doing a slow animation. is there a

[jQuery] Fix for problem: Firefox 3, FOUC and incorrect width() on ready

2008-06-26 Thread Karl Rudd
This is a heads up for anyone having problems with Firefox 3. I had a problem with finding the width()/outerWidth() of elements during a ready function, it would always be the size of the window. While debugging I also noticed a short FUOC (Flash Of Unstyled Content), which tipped me off to the

[jQuery] Re: Add class on click, then remove when click another, and add to that.

2008-06-26 Thread andrea varnier
On 26 Giu, 07:47, hubbs [EMAIL PROTECTED] wrote: I have a list of links, and when one is clicked, I would like a class to be added.  I understand how to do this, but when you click another link, I would like the class removed from the first click and added to the second click, and so on, so

[jQuery] Re: [validate] automatically clear error messages when pass validation rule?

2008-06-26 Thread Jörn Zaefferer
I don't see an attachment - could you upload that somewhere? On Wed, Jun 25, 2008 at 11:57 PM, Josh Joy [EMAIL PROTECTED] wrote: Ok, I have attached a sample html. It seems that using tables is causing some confusion? I'm not sure. Hope you can pinpoint what I'm doing wrong. Note input

[jQuery] Re: Select option name attribute

2008-06-26 Thread andrea varnier
On 26 Giu, 05:08, Brad [EMAIL PROTECTED] wrote: Your options should have value attributes and not name. select name=textselector option value=11Text/option option value=12Text 2/option /select Try something like $(textselector option:selected).val(); This works, but since the selected

[jQuery] Re: submitting a form by pressing enter

2008-06-26 Thread andrea varnier
On 26 Giu, 06:20, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I have a form, with id=myForm, with a number of text fields (input with type=text).  How do I cause a form submission by pressing enter in any of those form fields? hi. shouldn't this be a default?

[jQuery] QUnit, jqUnit, and rhino

2008-06-26 Thread fuzziman
I was thinking about modifying testrunner.js (the rhino version) with jqUnit, and getting it run to a point where it will be compatible with the latest QUnit and jqUnit test framework. before I dive in, has anyone done any work on this they'd be able to share, so I won't be reinventing the

[jQuery] attribute is null

2008-06-26 Thread robing
i am wanting to grab the next href attribute from a clicked anchor, when i use the code below i get everything in between the div next to the selected one; var nextHref = $(this).parent(div).next(div).html(); but when i try to get the href i get null. var nextHref =

[jQuery] Re: Sortable blocks all other events

2008-06-26 Thread e2e
Thank you. I've already solved my problem by adding handle to sortable options. Your solution worked too. I'll use it for other areas where I can't set a handle. Thanks again... On Jun 25, 6:52 pm, Richard D. Worth [EMAIL PROTECTED] wrote: This has been fixed in svn and will be in the next

[jQuery] Re: submitting a form by pressing enter

2008-06-26 Thread Steen Nielsen
You need to insert a submit button in the form to get it working.. input type=submit if you don't want to show the button you can always hide it using CSS. I usually just positioning it -9000px to the left, that way it won't show up, but if the page is read without CSS, it will be shown

[jQuery] Re: Add class on click, then remove when click another, and add to that.

2008-06-26 Thread ..:: sheshnjak ::..
You probably have something like this in HTML: div class=targetLinkList a href=1bla 1/abr / a href=2bla 1/abr / a href=3bla 1/abr / /div Put this in css, just for testing (to see if class is set properly): a.clicked {background-color:red} Finally, in write this in your jQuery js:

[jQuery] Re: Using AJAX load() method to get new pages only works sometimes in Firefox - why?

2008-06-26 Thread Ben
If anyone else finds this, I found the problem. It's that the pages I was load()ing had inline Javascript that did document.write()s which contained a elements. I don't understand the problem further than this, but I'm guessing jQuery didn't like other Javascript code adding a elements when it

[jQuery] Re: Add class on click, then remove when click another, and add to that.

2008-06-26 Thread sheshnjak
Hi, I think this should work for you: - Basically, you have this in html: div class=targetLinkList a href=1bla1/abr / a href=2bla2/abr / a href=3bla3/abr / /div - To see the results put this in your css: a.clicked {background-color: red} - And finally, you should put this in js file:

[jQuery] Re: Using this with jQuery

2008-06-26 Thread tlob
Add a class to your IDs, then it should work: [code] style type=text/css div {border:1px solid #ccc;width: 100px;height:100px;margin: 10px;float:left;} /style script language=javascript!-- $(document).ready(function(){ $(div.rollover).hover( function () {

[jQuery] Re: Using this with jQuery

2008-06-26 Thread Richard D. Worth
If your .seriesOverlay is a child of your .seriesItem[1], you can do: $(.seriesItem).mouseover(function() { $(.seriesOverlay, this).hide(); }).mouseout(function() { $(.seriesOverlay, this).show(); }); Why this works: * The thisArg in jQuery callbacks is always equal to the original element

[jQuery] Re: php with javascript...jquery...

2008-06-26 Thread tlob
You dont understand the difference between php, html an JS. where is PHP and JS executed? What does the browser see? Does the browser see any PHP code and running it? http://www.google.ch/search?q=php+vs+jsie=utf-8oe=utf-8aq=t; ?php if (is_file('xy.gif')) { // code if file exists } else { //

[jQuery] Re: QUnit, jqUnit, and rhino

2008-06-26 Thread John Resig
I'm working on this (well, trying to get more of the jQuery test suite to pass). I've broken it out into a separate project here: http://github.com/jeresig/env-js/tree/master I'm also trying to get it to run on more platforms (such as Ruby/Johnson, Perl/Spidermonkey, and Python/Spidermonkey).

[jQuery] Re: submitting a form by pressing enter

2008-06-26 Thread tlob
A page is read without css? Hmmm I think that is really really really rare Even more rare than a browser without js turned on. Thats only really really rare ;-) Or what do you mean? instead of moving it away, why not css display:none;? Does this brake the submit? cheers tl On Jun 26,

[jQuery] Re: [validate] Validate based on other fields but not being required

2008-06-26 Thread Chandler
That's brilliant! I do appreciate your help, still mastering jquery. It worked lovely though I had to append parenthesis to .val. Is this supposed to work on all of the built in validation functions? I've tried it on email and creditcard, but it doesn't seem to apply quite as well as it does on

[jQuery] Has anyone been able to perform Hover-Grouping?

2008-06-26 Thread F1LT3R
I am stuck trying to create a hover for two separate TD elements like so... $('td.add, td.dropdown').hoverIntent( ) The problem is that when I hover out of TD.add and into TD.dropdown, jQuery interprets this as HoverOUT. I want it to still be HoverOVER if I move my cursor into the other area

[jQuery] Find parent width from sum of child divs

2008-06-26 Thread jimster
Hi There, It's my first time posting, and I've only been using jquery for a couple of hours, but I'm pretty darn impressed with what can be down with so much ease. I'm building a slider style gallery (it's kind of like a full screen version of the coda website if your familiar with it). It's

[jQuery] How to get the selected word ?

2008-06-26 Thread Aillas
Hi, I'm trying to reproduce the altclickanswers on nytimes website, but with jQuery. Basically, when you dblclick on a word, it fires a popup with the selected word for query. My problem is How to get the selected word ? Which selector can i use ? var the_selected_word = ???;

[jQuery] jtemplates performance

2008-06-26 Thread Andiih
I am using jTemplates (jquery-jtemplates.js) to render a large xml response by running xmlToJSON then processTemplate. Although the code works fine, and performance in FF2.0 is acceptable (2672ms) on my test system, I am getting a result of 9827ms when running in IE7. Is there a known

[jQuery] Re: Trying to use jQuery and lightview on the same page

2008-06-26 Thread Pegpro
How do I use that? On Jun 25, 7:25 pm, Eric Martin [EMAIL PROTECTED] wrote: Have you tried jQuery.noConflict(); ?http://docs.jquery.com/Core/jQuery.noConflict On Jun 25, 9:12 am, Pegpro [EMAIL PROTECTED] wrote: Does anyone know? On Jun 25, 12:06 pm, Pegpro [EMAIL PROTECTED] wrote:

[jQuery] Refactoring help

2008-06-26 Thread Dan Atkinson
Hey guys! I've spent a bit of time writing some JS to pull some JSON into three dropdowns, and the resulting code is a bit messy (70 lines, of which, 40 is just repetition). I'm a bit useless with refactoring, and I would really appreciate some pointers in trying to tidy this code up. I'm not

[jQuery] FF3 not showing Thickbox content until refresh

2008-06-26 Thread Alexandre Plennevaux
hello! Since Firefox3, the thickbox (iframe mode) i use only show content if i refresh the iframe inside the thickbox _ rather annoying... Has anyone been facing this and know a fix? Thanks ! Alexandre -- Alexandre Plennevaux LAb[au]

[jQuery] Re: [validate] Validate based on other fields but not being required

2008-06-26 Thread Jörn Zaefferer
The depends property works for all methods. Of course param is useful only for methods that actually require a parameter, email and creditcard don't. Overall its still somewhat experimental, as the lack of documentation indicates, so please let me know if there are further issues. Jörn On Thu,

[jQuery] Re: Validate plugin: RFC2822 compliant emails

2008-06-26 Thread Scott González
As Jörn has stated, we have intentionally gone against the RFC a bit to go for a more practical approach. The original regex was written to the spec (as much as possible). I seem to recall that while I was writing the regex I thought it was actually impossible to follow the spec because I had

[jQuery] Re: [validate] Validation Rules based on IDs rather than Names

2008-06-26 Thread Simon Whatley
Hi Jörn Firstly, the form I have to work with is not of my creation and is somewhat flawed! I agree, your first example would be invalid if the forms were on the same page. If they were on separate pages the IDs are not invalid. However my example is a form that collects a number of instances

[jQuery] Write binary data (from server) is possible with Ajax?

2008-06-26 Thread MrFishKill
Hi, Sometimes, via AJAX, I'm getting binary content from a server (application/octet-stream), other times html-text. When server response with binary content (PDF, EXCEL, etc) I'like to send to user. It's possible This is my code: function CNMSubmitAjax(arguments,id_capa, extra_props) {

[jQuery] Re: [validate] Validate based on other fields but not being required

2008-06-26 Thread Chandler
Of course! I did have a problem with the email field using the depend method. If I left the email field blank (not a valid email address), the form would still submit. I had to add required:true in order for the depend to kick in. Which makes sense. Well everything seems to work. I'll give a bit

[jQuery] Different between this and $(this)

2008-06-26 Thread x-herbert
Hi jQueries; what is the different between this and $(this) ?? I try the follow lines $(#form_zuw input[readonly]).each(function() { this.addClass(input_readonly); }); like http://jquery.bassistance.de/jquery-getting-started.html $(document).ready(function() { // use this to

[jQuery] Write binary data from server is possible?

2008-06-26 Thread jgmaux
Hi, Sometimes, via AJAX, I'm getting binary content from a server (application/octet-stream), other times html-text. When server response with binary content (PDF, EXCEL, etc) I'like to send to user. It's possible This is my code: function CNMSubmitAjax(arguments,id_capa, extra_props)

[jQuery] Re: Has anyone been able to perform Hover-Grouping?

2008-06-26 Thread F1LT3R
What is hoverGrouping? hoverGrouping would allow somebody to use multiple elements in the selector such as... $('TD.one TD.two').hoverIntent(); This function would be very useful for work with product tables. I am currently trying to create a table that uses hoverIntent on two seperate TDs.

[jQuery] Re: Write binary data (from server) is possible with Ajax?

2008-06-26 Thread Liam Byrne
Maybe I'm missing something, but document.write(result) will only work if the variable result has a value, and I can't see it being set anywhere ? Liam MrFishKill wrote: Hi, Sometimes, via AJAX, I'm getting binary content from a server (application/octet-stream), other times html-text.

[jQuery] Re: [validate] Validation Rules based on IDs rather than Names

2008-06-26 Thread Jörn Zaefferer
Previous version of the plugin used IDs solely, and there are way to many drawbacks to give that another try. But I think that isn't even necessary, there are other solutions. To start with, you can add classes to inputs to define their validation rules. If you have no control over the

[jQuery] Re: [validate] Validate based on other fields but not being required

2008-06-26 Thread Jörn Zaefferer
I haven't yet seen or worked with an example with a large number of custom methods. Once added, custom methods behave exactly the same as built-in methods, therefore I see no reason why that should be a problem. Lookup is based on JavaScript property lookup, which is hardly a bottleneck either.

[jQuery] Re: Different between this and $(this)

2008-06-26 Thread Steen Nielsen
When you use this, it returns the standard JS DOM object. But when you use $(this), it will return a jQuery object, which can contain several DOM objects as well as functions and methods. So if you want to use some jQuery methods on an object, you will have to use $(this), but if you use

[jQuery] Re: Write binary data (from server) is possible with Ajax?

2008-06-26 Thread jgmaux
Ttanks, Liam Sorry, my english language is very bad.. I'like to receive, via ajax, a binary data (application/octet-stream) from server. And I pass it to the browser for display download window dialog.. I suppose that document.write('...') function is only for a text / html

[jQuery] [autocomplete] possible bug when using jquery.autocomplete.min.js

2008-06-26 Thread eleight
When i replace jquery.autocomplete.js include script with jquery.autocomplete.min.js version I get this errors: missing ; before statement http://localhost/admin/js/autocomplete/jquery.autocomplete.min.js Line 15 ; before statement [Break on this error]

[jQuery] Re: Different between this and $(this)

2008-06-26 Thread Mario Wolff
Hi! Very simple: this is the (DOM)-object and $(this) is a jquery-object containing the (DOM)-object. To use jQuery methods you need a jQuery object! Regars, Mario On 26 Jun., 15:02, x-herbert [EMAIL PROTECTED] wrote: Hi jQueries; what is the different between this and $(this) ?? I try

[jQuery] Re: New jQuery Plug-in: Multicolumn Dropdown

2008-06-26 Thread Dan G. Switzer, II
Tony, I was able to fix by own bug. I commented out like 899 ($self.blur();) and added a return true after line 901. That makes it so if you hit tab while at the end of the tree the tab will bubble up to the browser which will move focus to the next item. I tested in IE7 and FF4 and it works

[jQuery] Re: slideToggle() giving a noticeable skip or bump when revealing/hiding div

2008-06-26 Thread jaredh123
jaredh123 wrote: I have a test page showing my issue here: http://www.professionalphotographertheme.com/demo2/ Click on the 5 Comments tab, and you can see it. It's even more obvious if you click it again to toggle it closed again. I slowed down the effect significantly to make

[jQuery] Re: Different between this and $(this)

2008-06-26 Thread wellmoon
'this' is standard JavaScript for an object referring to itself '$(this)' is jquery for 'the current object' or similar You can't call jQuery methods on standard JavaScript objects, only on jQuery objects On Jun 26, 2:02 pm, x-herbert [EMAIL PROTECTED] wrote: Hi jQueries; what is the

[jQuery] Re: Noob Question: Using Selectors after ajax load

2008-06-26 Thread Eric
Thanks a lot for the help! Really appreciate it -Eric

[jQuery] Re: Validate plugin: RFC2822 compliant emails

2008-06-26 Thread AstroIvan
Sounds great Scott. First my apologies, as it seems my post was a little pre-emptive. The specific case I got in a bug report was that + signs were not being allowed by the client validation. This is incorrect as I've double tested it after looking at your test cases, and it looks like you

[jQuery] Re: [validate] Validate based on other fields but not being required

2008-06-26 Thread Chandler
We'll be doing some testing on our end anyway, so I'll let you know if we encounter any problems. In the meantime, thanks for all your help! Kudos on the validation. Steve On Jun 26, 2:38 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: I haven't yet seen or worked with an example with a large

[jQuery] Adding hover to all table rows (tr) but the first one.

2008-06-26 Thread aldomatic
I'm having a difficult time figuring out how to add a hover effect on all but the first table row (tr). I appreciate anyone's help. Thanks!

[jQuery] Re: Detecting the selected option

2008-06-26 Thread Will
Thanks for the response. I'm still having trouble getting this to produce any results. Perhaps I'm not initiating it correctly, as nothing seems to happen as a result of this: $(#showgraph).click(function(){ // Only unhide the Overlay controls if Initial Conditions are set to

[jQuery] Re: QUnit, jqUnit, and rhino

2008-06-26 Thread fuzziman
So excited to see that you are actively working on this John! :-) I can see you've been concentrating on document parsing behavior, while I've just been looking at automated testing in rhino. From my testing perspective, I made a couple of patches: - in test(), wrapping fn() and the next lines

[jQuery] No slideUp() Effect In IE7 Only

2008-06-26 Thread GaMerZ
Hi All, I am using this line of code: jQuery(# + previous_welcome_icon).slideUp(normal, function () { jQuery(# + icon).slideDown(normal); }); To archive the slideUp and slideDown effect. You can see it live in action in http://lesterchan.net/ by clicking on any of the 6 horizontal icons you

[jQuery] Re: Firefox (23) does not render new content on .append(val) and .html(val)

2008-06-26 Thread c2h5oh
After another couple hours coffees I found out that if I use $.html(val) to insert invalid html (invalid as in does not validate) no content will be shown, as if it had display:hidden. code like this is enough: var someval = 'table tr tdone /tdtd two/td /tr tr tdthree/tdtdfour /tr /table';

[jQuery] Tabs UI - Mousing over a tab to display content of all panels

2008-06-26 Thread CBlackstone
I have implemented Tabs in such a way that mouseover works to display the various content panels. What I need is the ability for mousing over the last tab to display all of the content panels. The number of tabs is known and doesn't change. Does anyone have code that does this? Thanks

[jQuery] Re: Write binary data (from server) is possible with Ajax?

2008-06-26 Thread Mario Wolff
Hi! In short: You can't! A possible way: Do a HEAD request first, check the content-type as you do, if it's usable data load it with a GET request, if it's downloadable data open the same url in a new window. The browser will see that it is an oktet-stream and will open download dialog! Regards,

[jQuery] [validate] Multi-step form, how to validate only the current step?

2008-06-26 Thread jcarouth
I am trying to get a form with similar functionality to the demo shown on http://www.mredesign.com/demos/jQuery-accordion-w-validation/#thedemo but I'm having a problem that I cannot figure out. When attempting to navigate from the first step to the second via the Next button the validator.form()

[jQuery] Re: Fix for problem: Firefox 3, FOUC and incorrect width() on ready

2008-06-26 Thread Karl Swedberg
Hi Karl, thanks a lot for announcing the fix to this list. I'm sure a lot of people will appreciate seeing it. This thread on the jquery-dev list has been discussing this very issue (with the same suggested fix):

[jQuery] jQuery Camp 2008 to be held at The Ajax Experience on Sept. 28th.

2008-06-26 Thread Rey Bango
I will be announcing this once a week until jQuery camp arrives. The jQuery Team is pleased to announce the second annual jQuery Camp! jQuery Camp 2008 will be held on Sunday, Sept. 28, the day before The Ajax Experience, in Boston, MA (location TBA). Last year, over 100 jQuery developers

[jQuery] Re: how to eliminate easing on animation?

2008-06-26 Thread Ariel Flesler
Hi Andrea It isn't possible without extra code. I realized that if I were to start adding attributes, cloning/moving nodes, the plugin would turn into a mess. SerialScroll doesn't touch a single node, not even attributes. If you can figure out the code (probably using onBefore and onAfter) I'll

[jQuery] Re: Adding hover to all table rows (tr) but the first one.

2008-06-26 Thread Karl Swedberg
Hi, you should be able to do it like so: $('tr:gt(0)').hover(function() { // Stuff to do when the mouse enters the row; }, function() { // Stuff to do when the mouse leaves the row; }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 26, 2008, at

[jQuery] Re: jQuery Camp 2008 to be held at The Ajax Experience on Sept. 28th.

2008-06-26 Thread Glen Lipka
I asked about changing the flight. It would be $150 + $50 for jQuery and another night at the hotel (not sure how much that is). Too rich for me unfortunately. Sorry man, I wish I could be there. Are you going to TAE too? Glen On Thu, Jun 26, 2008 at 9:05 AM, Rey Bango [EMAIL PROTECTED]

[jQuery] Re: Detecting the selected option

2008-06-26 Thread Will
I got it fixed by using this: $(#initCond).each(function(){ instead of this: $(#initCond).click(function(){ So the corrected, full statement is this: $(#showgraph).click(function(){ // Only unhide the Overlay controls if Initial Conditions are set to No.

[jQuery] Re: [validate] automatically clear error messages when pass validation rule?

2008-06-26 Thread Josh Joy
Sorry, try here http://snippets.dzone.com/posts/show/5700 On Thu, Jun 26, 2008 at 2:50 AM, Jörn Zaefferer [EMAIL PROTECTED] wrote: I don't see an attachment - could you upload that somewhere? On Wed, Jun 25, 2008 at 11:57 PM, Josh Joy [EMAIL PROTECTED] wrote: Ok, I have attached a sample

[jQuery] Re: jtemplates performance

2008-06-26 Thread chris thatcher
Andiih, just curious becuase I use jtemplates and havent seen that issue, though can you verify that the slow code is not 'xmlToJSON'. I have seen the marshalling process take up a lot of time in IE when the xml is substantial in size . Thatcher On Thu, Jun 26, 2008 at 12:30 PM, Jack

[jQuery] Re: slideToggle() giving a noticeable skip or bump when revealing/hiding div

2008-06-26 Thread Jared Henderson
Thanks! That did it! I really appreciate it. On Thu, Jun 26, 2008 at 12:09 PM, Karl Swedberg [EMAIL PROTECTED] wrote: Hi Jared, It looks like the problem is being caused by the padding that you have applied to .comments-body If you remove that padding and apply padding to element(s)

[jQuery] Re: No slideUp() Effect In IE7 Only

2008-06-26 Thread Matt
Interesting, it works fine for me in both FF2 and IE7. The behavior is identical. My version of IE7 is 7.0.5730.11 Matt On Jun 26, 7:52 am, GaMerZ [EMAIL PROTECTED] wrote: Hi All, I am using this line of code: jQuery(# + previous_welcome_icon).slideUp(normal, function () { jQuery(# +

[jQuery] Re: submitting a form by pressing enter

2008-06-26 Thread [EMAIL PROTECTED]
Thanks for your replies. I have a follow up question. Let's say I have a bunch of inputs, type=text within a div with id=myDiv. How do trigger an action if someone presses enter within one of those text fields? This would not be a form submission necessarily. - Dave On Jun 26, 5:25 am,

[jQuery] Re: Adding hover to all table rows (tr) but the first one.

2008-06-26 Thread ..:: sheshnjak ::..
Hello, Karl already gave you clean solution that will surely work, but I can't resist to give you solution that might be more suitable for your needs. I presume that you don't want hover effect on the first row because it contains table header (field names for columns). If that's the fact, then

[jQuery] jNice, dropdown menus (jd_menu_vertical), and IE

2008-06-26 Thread aronduby
Running into issues using jNice to style form elements. The normal iFrame hack for IE doesn't work to get the drop-down menu over top of the selects. I disable jNice and it works, turn it back on and nothing. Example : http://client.grcmc.org/wip/grcvb/events.php

[jQuery] Duplicate GridViews in jQuery tabs

2008-06-26 Thread vladv
Hi, I work with asp.net and jquery. I would like to have the same GridView displayed in many tabs, and only changing ObjectDataSource parameters so the data which is displayed will change. How can I do it without duplicating the GridView? Thanks for any help

[jQuery] Re: Adding hover to all table rows (tr) but the first one.

2008-06-26 Thread Karl Swedberg
Hi again, you replied directly to me with this: Awesome! Now 1 more question. How can I have it not hover the last row too? Hope you don't mind that I'm posting a response to this question on the list. I'd like other people to be able to see the answer as well, just in case someone

[jQuery] hide() and slideDown() question

2008-06-26 Thread Matt
Hi All, Essentially what I'm trying to do is insert some new html after a specific element. What I would like to do is have the new element appear using the slideDown() function. I tried to hide it at first so all the user sees is the slideDown() but it brielfy shows the element, then hides it,

[jQuery] [Plugin Selectbox] : How To Access Passed Parameter

2008-06-26 Thread studiobl
I'm using the Selectbox Plugin to populate a select box with a json string passed from a php page. I'd like to pass a parameter to the php page from the plugin call. How is this done? I tried doing $ (#myselect).ajaxAddOption(myoptions.php, {$code : 007}); and then in myoptions.php, attempting

[jQuery] Re: QUnit, jqUnit, and rhino

2008-06-26 Thread chris thatcher
Wow this is good news. I've been mucking up env.js for awhile now locally and was afraid I wouldn't see it go where I hope it will. John you mentioned the other platforms you want it to be used on and I think this would be ideal. One thing that is currently preventing that is that the basic

[jQuery] Re: Adding hover to all table rows (tr) but the first one.

2008-06-26 Thread aldomatic
No I do not mind, I clicked on the wrong reply link. Thanks again! On Jun 26, 1:15 pm, Karl Swedberg [EMAIL PROTECTED] wrote: Hi again, you replied directly to me with this: Awesome! Now 1 more question. How can I have it not hover the last row too? Hope you don't mind that I'm

[jQuery] Re: Has anyone been able to perform Hover-Grouping?

2008-06-26 Thread Brian J. Fink
$('td.add,td.dropdown').hover(function() { $('td.add,td.dropdown').addClass(someclassnamehere); },function() { $('td.add,td.dropdown').removeClass(someclassnamehere); }); might work. On Jun 26, 7:00 am, F1LT3R [EMAIL PROTECTED] wrote: What is hoverGrouping? hoverGrouping would allow

[jQuery] do validation when value changes in a table cell

2008-06-26 Thread Sridhar
Hi, I am trying to attach validation to a table cell. I am using onchange event to validate the cell value. Instead of attaching the event to each table cell, is there a way to attach the event at the table level? This will improve the performance of the page. or if there is any other way to

[jQuery] Re: Different between this and $(this)

2008-06-26 Thread x-herbert
o.k. fine! I understand the difference! Thanks! x-herbert

[jQuery] Re: Validation is not working as expected. Input value deleted!

2008-06-26 Thread Brian J. Fink
Try using String.search(regexp)+1 instead of regexp.test(String). Are you getting legitimate values to fail, or invalid ones to pass? On Jun 20, 7:48 pm, shapper [EMAIL PROTECTED] wrote: Very strange ... it works both ways ... well, what I mean is that I keep having the same problem in both

[jQuery] Re: getJSON callback not executing

2008-06-26 Thread wellmoon
After more research I discovered for jsonp callbacks to work, the PHP needs to return the name of the function as well as (which the flicker service does in the $.getJSON example), so I added this to the PHP file. For reference the PHP file now consists of this: ?php $stuff = myCallback

[jQuery] Re: BlockUI not working properly in IE

2008-06-26 Thread Mike Alsup
BlockUI doesn't want to load correctly in IE. The JQuery routine I'm running contains an Ajax call that takes a while. I call .blockUI before calling a synchronous Ajax call and .unblockUI afterwards. It works as expected in FF but in IE (both 6 and 7) the screen freezes until the Ajax call

[jQuery] Re: Adding hover to all table rows (tr) but the first one.

2008-06-26 Thread Josh Nathanson
Would this work as well? $(tr:not(:first):not(:last)).hover(function() { //etc. Not as performant as the other ones, but expresses the intent clearly. -- Josh - Original Message - From: Karl Swedberg [EMAIL PROTECTED] To: jquery-en@googlegroups.com Sent: Thursday, June 26, 2008

[jQuery] Re: Validation Plugin issue when using TinyMCE

2008-06-26 Thread shapper
Please, does anyone knows why do I need to push twice the submit button so the validation be updated? Thanks, Miguel On Jun 25, 2:01 pm, shapper [EMAIL PROTECTED] wrote: Hi, It worked but now I get a new problem which I also notice before! I though it was due to this but it seems it is not

[jQuery] Re: [autocomplete] possible bug when using jquery.autocomplete.min.js

2008-06-26 Thread Jörn Zaefferer
Please update to 1.0.2, it fixes the issue. Jörn On Thu, Jun 26, 2008 at 3:28 PM, eleight [EMAIL PROTECTED] wrote: When i replace jquery.autocomplete.js include script with jquery.autocomplete.min.js version I get this errors: missing ; before statement

[jQuery] Re: How do I find and replace HTML comments?

2008-06-26 Thread Joel Newkirk
Or, if you're writing straight HTML without PHP, you could try Server-Side Includes. http://httpd.apache.org/docs/1.3/howto/ssi.html#today'sdate j On Wed, Jun 25, 2008 at 5:59 AM, M. [EMAIL PROTECTED] wrote: Hello, I have a HTML page and I've included a HTML comment above my title tag

[jQuery] validation of a table cell value

2008-06-26 Thread Sridhar
Hi, I am trying to attach validation to a table cell. I am using onchange event to validate the cell value. Instead of attaching the event to each table cell, is there a way to attach the event at the table level? This will improve the performance of the page. or if there is any other way to

[jQuery] Re: Adding hover to all table rows (tr) but the first one.

2008-06-26 Thread Dean Landolt
Hi again, you replied directly to me with this: Awesome! Now 1 more question. How can I have it not hover the last row too? Just to expand a little on sheshnjak's point above, if it does sound like it's a header and footer you're trying to differentiate. If that's the case, may I suggest

[jQuery] Re: Cycle Plugin - how to animate/transition of the pager nav

2008-06-26 Thread Andy Ford
I've managed to add some transition animations to the pager nav $.fn.cycle.updateActivePagerLink = function(pager, currSlideIndex) { $(pager).find('li') .filter('li:not('+currSlideIndex+')').removeClass('on'). animate({

[jQuery] Re: bugs

2008-06-26 Thread Luke
OK, so nobody could address this very basic issue. I think this a major one for jquery. so I replaced $(document).ready( with window.onload = and it might be a bit slower but it works. maybe a preloader looks prettier but this one works just fine. and it is very simple. cheers luke

[jQuery] Re: jtemplates performance

2008-06-26 Thread Andiih
Jack, I'll take a look Chris, I *think* the timing code I've added in my sample above is only timing the template step ? I've had the opportunity to try this out this afternoon on a number of machines in the organization, and noted a couple of things... Its quick in FF3 (which I didn't expect

[jQuery] Re: submitting a form by pressing enter

2008-06-26 Thread Dean Landolt
It's been my experience that listening for keycodes in js can be a bit hairy. If you have a bunch of inputs, it's probably semantic to wrap them in a form (the div too if you like), then you could take advantage of the on built-in event listener but just prevent the actual form submission:

[jQuery] Re: No slideUp() Effect In IE7 Only

2008-06-26 Thread GaMerZ
I have fixed it. Apparently IE7 requires the child container to be specified height as well. Matt-206 wrote: Interesting, it works fine for me in both FF2 and IE7. The behavior is identical. My version of IE7 is 7.0.5730.11 Matt - Lester Chan's Website - http://lesterchan.net

[jQuery] Re: SproutCore vs jQuery? Are there any comparisons out there?

2008-06-26 Thread Ed Finkler
Beyond that, the development process seems very much modeled on Rails, and *requires* that you have Ruby. The biggest issue for me is that the development process requires that you serve up files from a local web server (Mongrel) and view them in a browser. Personally, I would *really* love an

[jQuery] Re: getJSON callback not executing

2008-06-26 Thread Ryura
Use a GET request. ?php $prop = '({prop:1})'; $stuff = $_GET[jsoncallback] . $prop; echo $stuff; ? On Jun 26, 2:38 pm, wellmoon [EMAIL PROTECTED] wrote: After more research I discovered for jsonp callbacks to work, the PHP needs to return the name of the function as well as (which

[jQuery] Re: Firefox (23) does not render new content on .append(val) and .html(val)

2008-06-26 Thread Alexandre Plennevaux
and if the injected html is completely valid it works ? Alexandre Plennevaux On Thu, Jun 26, 2008 at 5:10 PM, c2h5oh [EMAIL PROTECTED] wrote: After another couple hours coffees I found out that if I use $.html(val) to insert invalid html (invalid as in does not validate) no content will be

[jQuery] tableEditor plugin - add new row - using in an iframe gives error

2008-06-26 Thread ktpmm5
I'm trying to use the tableEditor plugin to add a new row to my table (don't need to edit current data, just add new rows and save to mysql db). I've got my table loading in an iframe, but I'm getting the error that default.Table[0] has no data. The user clicks on a link which loads the data

[jQuery] Patch to allow exclusion of blocked elements

2008-06-26 Thread Joaquin Windmüller
I'm using blockUI to show a tooltip generated by another jquery plugin and I'm having problem with the links that are inside it. I've patched blockUI to accept an selector or a jquery object to exclude those from being blocked: Index: jquery.blockUI.js

[jQuery] Using noConflict with links

2008-06-26 Thread Pegpro
I am using this line: var $this = $(this), link = $this.attr('href'); However I have had to use jQuery.noConflict() How do I use jQuery() with this?

[jQuery] Trying to use jQuery to do the same effect on multiple links.

2008-06-26 Thread Pegpro
I am currently using: jQuery.noConflict(); jQuery(document).ready(function(){ jQuery(\a:contains('Home')\).click(function(e){ e.preventDefault(); var link = jQuery(this), link =

[jQuery] AutoComplete and Validation

2008-06-26 Thread shapper
Hello, I am using AutoComplete with Validation. Can I create a validation that accepts only values from the autocomplete? For example if the autocomplete list is: New York, London, Lisbon, Paris Then the following would be accepted: New York, London New York Lisbon,Paris

[jQuery] Combination of several filters

2008-06-26 Thread andyGr
Hi All, Here is a simple code: var cl = $j(input[class='inputbox'][value='']).parent().parent().filter(tr[class^='comdebt'][class!='comdebt1 specify1'][class!='comdebt2 specify2'][class!='comdebt3 specify3']).attr('class'); as you can see I need to deselect tr with classes ended with

  1   2   >