[jQuery] persistent select through pages in data grids

2009-04-13 Thread Saurabh
Hi, I am evaluating various javascript based datagrid that i can use in my application. I want to know if its is possible that row selection persists across the page change. e.g. I select row 2,5,7 on page 1 and then i change to page 2 and select 20,25. I go back to page one ... will i get

[jQuery] jQuery can't catch 302 status in IE, but works in Firefox

2009-04-13 Thread chris
To keep the story short : After every AJAX call, I want to check the status. If the status is 302 (redirect), I want my AJAX to redirect to an URL set on Location header. My code is like this : div id=session_timeout_gtbportal /div script type='text/javascript'

[jQuery] Re: Plugin Development

2009-04-13 Thread Spot
Anyone else able to shed some light on this? Spot wrote: Nathan, Ok, I am aware of the base use of each() (been coding in PHP for about eight years), but I cannot see how it is viable in this case. Making a long story short... This plug-in is a selector(auto-completer). To be more

[jQuery] Re: simple query does not work

2009-04-13 Thread dongle
thank you ricardo,that was helpful. On Apr 13, 6:42 am, Ricardo ricardob...@gmail.com wrote: .get(0) returns a DOM element, not a jQuery object, so the .css method doesn't exist in it. Try this: $(div#photolinks img).eq(0).css(border,5px solid black;); or $(div#photolinks

[jQuery] problem handling mouseover event

2009-04-13 Thread mcologne
hi, i have several images (more icons) on the page where i want to show a div like a tooltip with more links on mouseover of these images. the class of these images is .but_plus i have a div before body for the tooltip div id=navoverhere are more links/div .but_plus{ position:relative;

[jQuery] Re: Help, friends!

2009-04-13 Thread rusllangashik
i can't find anything. but i realize that tag clouds - i take script from 4dle by IE! Thanks all! On 13 апр, 01:26, dongle tetri...@gmail.com wrote: Google это ваш лучший друг. пока! На 12 апреля, 1:13 утра, rusllangashik online...gmail.comписал: - Скрыть цитируемый текст -- - Показать

[jQuery] Re: truncate problem - why does it show full-size and then shrink after page load?

2009-04-13 Thread Andy
Any thoughts on this? On Apr 9, 12:03 pm, Andy andym...@gmail.com wrote: I'm using the Truncate plugin (http://www.reindel.com/truncate/) and when the page loads, all the DIVs display full size and then after the page load, they all shrink and show the more link. I look at the example on

[jQuery] preloading a div

2009-04-13 Thread Sasser
hi i'm new to jquery and got a problem concerning the preloading of content. before changing the content dynamically i want to fade it out. so i tried this: $(#div).fadeOut(); $(#div).load(url); $(#div).fadeIn(); this works quite good. there is just the problem that the content fades in

[jQuery] Re: Cycle plugin Issue in Safari and Chrome browser

2009-04-13 Thread t3k...@web.de
I have the same issue with Chrome. I just tried the newest version of Cycle but the problem is still there. Wrapping the cycle div in another one fixes the problem but that seems not really the way to go. The code goes something like: div class=slideshow div class=slideimg src=slide1.jpg alt=

[jQuery] Re: New jQuery plugin LoopedSlider. Looking for feedback

2009-04-13 Thread krisbfunk
Yes! I've been looking everywhere for this type of content slider. I too am wedded to the serialscroll plugin, which allows for animation of images in a continuous linear scroll, (with the aid of the easing plugin), but then there's the naggy rewind... is it also possible to do this with yours,

[jQuery] jquery form.ajaxSubmit under http redirect (302)

2009-04-13 Thread Vinod B
hi, I am doing a form.ajaxSubmit, the response of which is content type text/javascript that will be eval'ed on the client. The ajaxSubmit uses the post method to post the form values. The server does a redirect by sending http response 302 and the new URL redirected to, returns the above

[jQuery] preloading a div

2009-04-13 Thread Sasser
hi i'm new to jquery and got a problem concerning the preloading of content. before changing the content dynamically i want to fade it out. so i tried this: $(#div).fadeOut(); $(#div).load(url); $(#div).fadeIn(); this works quite good. there is just the problem that the content fades in

[jQuery] how to call 1 function from many buttons by passing parameters

2009-04-13 Thread HISSAM
Hey I'm new to JQuery I have 5 divs At a time only 1 div should be expanded the others must be hidden I'm using the show and hide function But I want to function parameterised to open the respective div and hide the other which is open How do I go about ??

[jQuery] Re: Endeavour: translating X-Library functionality click-n-drag checkboxes into Jquery

2009-04-13 Thread Lwangaman
I tried working on it again and made a little progress... Now I got parent and child selected correctly, but I don't have mouseover working for some reason... http://jsbin.com/avigi/edit On 13 Apr, 02:43, Lwangaman donjohn.f...@gmail.com wrote: One more detail: mouseout should not take effect

[jQuery] Re: how to call 1 function from many buttons by passing parameters

2009-04-13 Thread Eric Garside
Take a look at the jQuery UI Accordion plugin. http://ui.jquery.com On Apr 13, 6:30 am, HISSAM hissam.sher...@gmail.com wrote: Hey I'm new to JQuery I have 5 divs At a time only 1 div should be expanded the others must be hidden I'm using the show and hide function But I want to function

[jQuery] Re: Works in IE7 but not IE6

2009-04-13 Thread slycreations
My suggestion was that you may want to make sure that your jQuery scripts and/or plug-ins are encoded as UTF-8. To do that, you would need to open and save each script file using UTF-8 encoding. File encoding may not be the issue at all. I've been unable to tell from your post if the problem is

[jQuery] jQuery multiple toggle - should be quick

2009-04-13 Thread Daniel
I have multiple divs called article which have a show/hide link to toggle a div inside called articleBody. Problem is when I click the link all divs show/hide. The html structure is below: div class=article p class=showa href=#Hide [-]/a/p div class=articleBody!-- Stuff i need to hide on

[jQuery] Re: preloading a div

2009-04-13 Thread errant
In computer programming, a callback is executable code that is passed as an argument to other code. - http://en.wikipedia.org/wiki/Callback_(computer_science) This will probably work for you: $(#div).fadeOut(function(){ $(#div).load(url, function() { $(#div).fadeIn(); }); });

[jQuery] Re: Validation plugin remote problem

2009-04-13 Thread Jörn Zaefferer
Could you post a testpage? Can't see anything wrong in the snippets you provided - its probably something seemingly unrelated. Jörn On Sun, Apr 12, 2009 at 4:18 PM, Victorr victor.ry...@gmail.com wrote: Ok. But what do i need too echo to get a false value and an error message? thanks! On

[jQuery] Slider for Gallery

2009-04-13 Thread iceangel89
i am intending to do a slider for my gallery. something like i show just 3 images 1st then have a prev next button to slide the gallery left or right to the next 3 (or 1) items. i hope u can visualize this, i think a common effect. then for a nicer effect. say i allow user to skip to a image.

[jQuery] Re: jcarousel and text below image

2009-04-13 Thread globalpropertyonline....@gmail.com
Hi Jay, Hope you had a good Easter Weekend. Any more help on my previous post will be much apreciated as I am still stuck with the same thing. Thanks in advance for your help. Hugo On Apr 11, 8:36 am, globalpropertyonline@gmail.com globalpropertyonline@gmail.com wrote: Thanks for the

[jQuery] Superfish opacity / transparancy

2009-04-13 Thread DraaYak
Hi there, I am trying to make the default superfish menu drop down items to be non-transparent. At the moment when you hover over a menu item and it drops down, it is transparent which makes it hard to read the menu text. I've tried editing the template.css and superfish.css files

[jQuery] Re: Finding ID within Ajax response

2009-04-13 Thread Nic Hubbard
I am pulling my hair out over this. I swear that this is a bug. For some reason, I CANNOT target any forms within the html response. I have tried very simple examples and it still won't work. Here is what I have, that still returns undefined: HTML: form id=test action=http://test.com; span

[jQuery] Re: capture user's selection on a html page

2009-04-13 Thread Andy Matthews
Look into the functionality on the New York Times story pages: http://www.nytimes.com/2009/04/14/world/asia/14thai.html?_r=1hp Highlight any block of text inside the story, and you'll get a litle popup question mark icon which links to a search of that string in the NYT database. Pretty handy

[jQuery] Re: Finding ID within Ajax response

2009-04-13 Thread Nic Hubbard
Test page to show the problem: http://www.puc.edu/dev/tests/ajax-test On Apr 13, 9:33 am, Nic Hubbard nnhubb...@gmail.com wrote: I am pulling my hair out over this.  I swear that this is a bug. For some reason, I CANNOT target any forms within the html response. I have tried very simple

[jQuery] Re: Finding ID within Ajax response

2009-04-13 Thread Ryan
If I understand correctly what you are tring to do, I think what you are looking for is the live() event http://docs.jquery.com/Events/live On Apr 13, 5:47 pm, Nic Hubbard nnhubb...@gmail.com wrote: Test page to show the problem:http://www.puc.edu/dev/tests/ajax-test On Apr 13, 9:33 am,

[jQuery] trouble stopping propagation

2009-04-13 Thread gmoniey
Hi, I have a simple onclick function call for a div which looks like this: onclick=showPanel(this). And the showPanel function header is as such: function showPanel(el) { } I also have some children in the div which are links, and I want top stop the propagation. Unfortunately, when I put a

[jQuery] Re: Slider for Gallery

2009-04-13 Thread Nathan
There are many great plugins that you can utilize to get this done: http://cssglobe.com/post/3783/jquery-plugin-easy-image-or-content-slider http://sorgalla.com/jcarousel/ http://code.google.com/p/loopedslider/ Hope that helps ya out. On Apr 13, 7:51 am, iceangel89 iceange...@gmail.com

[jQuery] Re: jQuery multiple toggle - should be quick

2009-04-13 Thread Nathan
You should check out: http://andylangton.co.uk/articles/javascript/jquery-show-hide-multiple-elements/ That should guide you through what you'll need to do to have multiple show/hides on a page. On Apr 13, 6:44 am, Daniel daniel.evil...@gmail.com wrote: I have multiple divs called article

[jQuery] Re: New jQuery plugin LoopedSlider. Looking for feedback

2009-04-13 Thread Nathan
Yes, check out the examples. No content rewind here! http://code.google.com/p/loopedslider/ I am looking to make some updates in the coming weeks which will simplify the code and add a few key features. Keep an eye out for that. On Apr 12, 8:38 pm, krisbfunk krisbf...@gmail.com wrote:

[jQuery] Re: Works in IE7 but not IE6

2009-04-13 Thread MauiMan2
Have you verified if jQuery is running at all in IE6? For example, create a new page and insert a simple jQuery action that would let you know if it's running (such as an alert message). That's what I have now: a simple jQuery action and as far as IE6 is concerned it is not there at all. Can

[jQuery] Getting index of clicked table cell

2009-04-13 Thread MorningZ
For the life of me i cannot figure out why this gives me -1 (not found) $(#Table1 tr.SUM).click(function(e) { alert($(this).index(e.target)); }); With this being the row, and e.target being the cell, shouldn't that work?

[jQuery] Error Output with ajaxForm?

2009-04-13 Thread steveoreno
I am having an issue where my success function is not being called, even when I return true in my beforeSubmit. I don't get Javascript errors and so I am totally baffled. Any help... hugely appreciated. //SETUP var options = { success: show_read_response, beforeSubmit:

[jQuery] Re: Cycle plugin Issue in Safari and Chrome browser

2009-04-13 Thread Mike Alsup
div class=slideshow div class=slideimg src=slide1.jpg alt= title=brdiv class=textbackgroundnbsp;/divdiv class=slidetext/div/ div div class=slideimg src=slide2.jpg alt= title=brdiv class=textbackgroundnbsp;/divdiv class=slidetext/div/ div /div and the css: .slideshow{        

[jQuery] Re: Finding ID within Ajax response

2009-04-13 Thread Nathan
You could try changing this: alert($(html).find(#test).attr ('action')); To This: alert($(#test).attr('action')); On Apr 13, 9:47 am, Nic Hubbard nnhubb...@gmail.com wrote: Test page to show the problem:http://www.puc.edu/dev/tests/ajax-test On Apr 13, 9:33 am, Nic Hubbard

[jQuery] Re: generate AJAX data based on number of select elements

2009-04-13 Thread Kinsbane
Having an issue with .serialize() - it's not grabbing the values for the names of the elements, and it only does it for those elements that are already on the page when it's loaded. It's not returning in the serialized string any of the SELECT elements that get added when someone picks a piece of

[jQuery] ajaxForm: get XmlHttpRequest status?

2009-04-13 Thread Brian J. Cohen
I would like to be able to retrieve the current 'statusText' for the XmlHttpRequest object used internally by ajaxForm (which I'm fairly certain actually uses $.ajax()). What I want is to prevent multiple simultaneous submissions in certain cases, so a the form submission is triggered, I want to

[jQuery] Re: capture user's selection on a html page

2009-04-13 Thread ihomest...@gmail.com
Thanks for the link. This is pretty nice. Is there a special javascript even I could capture to get the user's selection? On Apr 13, 12:46 pm, Andy Matthews li...@commadelimited.com wrote: Look into the functionality on the New York Times story

[jQuery] Re: Finding ID within Ajax response

2009-04-13 Thread Nic Hubbard
Nope, that does not work either. On Apr 13, 12:20 pm, Jack Killpatrick j...@ihwy.com wrote: Maybe try: success: function(html){   alert($(html).find('form').attr('action')); I had some issues in the past using form id's with the jquery form plugin, but usually getting it using 'form'

[jQuery] Re: Endeavour: translating X-Library functionality click-n-drag checkboxes into Jquery

2009-04-13 Thread Lwangaman
I think I've done it. http://jsbin.com/adixe/edit I have also left out the mouseleave event, and applied the mouseup to the whole document instead of to the table, that way even if I leave the table but still have the mouse button down, I don't lose the value in the variable. Only if I let go

[jQuery] Re: Finding ID within Ajax response

2009-04-13 Thread Nic Hubbard
Nope, that returns undefined as well. :( On Apr 13, 11:34 am, Nathan nsear...@gmail.com wrote: You could try changing this: alert($(html).find(#test).attr ('action')); To This: alert($(#test).attr('action')); On Apr 13, 9:47 am, Nic Hubbard nnhubb...@gmail.com wrote: Test page to show

[jQuery] Re: Finding ID within Ajax response

2009-04-13 Thread Jack Killpatrick
Maybe try: success: function(html){ alert($(html).find('form').attr('action')); I had some issues in the past using form id's with the jquery form plugin, but usually getting it using 'form' worked. That said, since the response isn't in the DOM yet, I'm not sure if that might present an

[jQuery] Re: Finding ID within Ajax response

2009-04-13 Thread Nic Hubbard
Yes, this is very odd. I have tried it quite a few ways, but I can never target the form. Any other ideas? It is frustrating because I really need to target a form in the html response... On Apr 13, 11:45 am, James james.gp@gmail.com wrote: That's strange. I can't get it to work either

[jQuery] Re: Finding ID within Ajax response

2009-04-13 Thread James
That's strange. I can't get it to work either and I'm getting the same results as you (I can get #test2, but not #test). I've even truncated the response down to as if you're only receiving the form part and it still doesn't work. I'd be interested in seeing what happens here too. On Apr 13,

[jQuery] Re: Finding ID within Ajax response

2009-04-13 Thread Nic Luciano
Hey Nic, I have a couple small recommendations- hopefully one will fix the issue. Try using $.get() instead of $.ajax, and specify type option as html- alternatively, you can use $.load() if your ultimate purpose is to inject this HTML into DOM. In addition rather than using find(), just select

[jQuery] Re: Finding ID within Ajax response

2009-04-13 Thread Nic Hubbard
Ok, my test now reflects your suggestions. But, sadly, none of that helped, it is still returning undefined. :( On Apr 13, 1:03 pm, Nic Luciano adaptive...@gmail.com wrote: Hey Nic, I have a couple small recommendations- hopefully one will fix the issue. Try using $.get() instead of

[jQuery] Re: Finding ID within Ajax response

2009-04-13 Thread finco
Just a guess here - is it possible that jquery will not recognize nodes that are loaded after the document is first rendered? Do you need to rebind? On Apr 13, 4:28 pm, Nic Hubbard nnhubb...@gmail.com wrote: Ok, my test now reflects your suggestions.  But, sadly, none of that helped, it is

[jQuery] Re: Endeavour: translating X-Library functionality click-n-drag checkboxes into Jquery

2009-04-13 Thread jscripter
Looks good under Firefox and Opera except that when I click-n-drag I am also selecting text. I'm still not sure how the original code avoided that. Under Chrome is't not working at all. :-( On Apr 13, 2:30 pm, Lwangaman donjohn.f...@gmail.com wrote: I think I've done it.

[jQuery] Re: Finding ID within Ajax response

2009-04-13 Thread James
I still haven't figured it out, but playing around and setting the ajax response as a jquery object, $(html), and making it global so I can view it's attributes through Firebug, I was able to locate the form element on the ajax response. It was the index-5 element for your test page. My sample

[jQuery] Trouble passing additional data with getJSON

2009-04-13 Thread Kathryn
Hi all, I think I must be making an obvious mistake, but I can't see it. I'm trying to pass additional data to the server with getJSON, but it's not working. Here's my function: $(document).ready(function() { $('#submit_uid').click(function() {

[jQuery] Re: Finding ID within Ajax response

2009-04-13 Thread Nic Hubbard
Could this be a jQuery bug? On Apr 13, 2:13 pm, James james.gp@gmail.com wrote: I still haven't figured it out, but playing around and setting the ajax response as a jquery object, $(html), and making it global so I can view it's attributes through Firebug, I was able to locate the form

[jQuery] Re: Endeavour: translating X-Library functionality click-n-drag checkboxes into Jquery

2009-04-13 Thread jscripter
Here's what I'm shooting for: http://jsbin.com/izoce/edit It's basically the same code as found on cross-browser.com, but I've added the cell highlighting. Works under Firefox, Opera and Chrome. It should also work under IE, but it doesn't seem to work when on the jsbin.com site. However, if

[jQuery] Re: Endeavour: translating X-Library functionality click-n-drag checkboxes into Jquery

2009-04-13 Thread jscripter
Sorry - one more item Under Chrome there is a bug if you mousedown on one of the checkboxes and then immediately mouse up. The cell hightlighing is out of sync with the checkbox state. How that can happen is complete mystery to me since updateBackground() always checks the .checked attribute

[jQuery] Re: Endeavour: translating X-Library functionality click-n-drag checkboxes into Jquery

2009-04-13 Thread Lwangaman
That was avoided by canceling the selectstart event, and in fact it's working fine in Internet Explorer and in Chrome. I just tried Firefox and you're right, it's not working right in Firefox. I'm not sure why you say that it doesn't work under Chrome, I wrote the code using Chrome and it worked

[jQuery] Re: Finding ID within Ajax response

2009-04-13 Thread Ryan
If you wrap your form in a div I think it should work - haven't tested it R On Apr 13, 10:22 pm, Nic Hubbard nnhubb...@gmail.com wrote: Could this be a jQuery bug? On Apr 13, 2:13 pm, James james.gp@gmail.com wrote: I still haven't figured it out, but playing around and setting the

[jQuery] [treeview] suppressing toggle on link click

2009-04-13 Thread Christopher Litsinger
I'm using the jquery.treeview plugin to build an outline. Each element within the outline has a link to the side of it that runs a javascript function. I'd like to have users click on this without triggering the toggle of the element. Below is a very simple html file that shows the problem-

[jQuery] Coda Slider and FancyZoom problem

2009-04-13 Thread Kyle
Hey Folks: I'm trying to implement a version of FancyZoom with Coda Slider. What happens is when you click on the fancyzoom link it moves the slider backwards in FF/Opera - works fine in Safari 4. To get the panel to slide backwards you'll need to have it already advanced forward a panel or

[jQuery] Re: Finding ID within Ajax response

2009-04-13 Thread Nic Hubbard
Hey, that actually worked! But, why would this have helped? And, is there a way around this, since the real form that I need to get, I cannot wrap a div around. On Apr 13, 2:46 pm, Ryan ryank...@gmail.com wrote: If you wrap your form in a div I think it should work - haven't tested it R

[jQuery] Sortable + Resizable + Ajaxify

2009-04-13 Thread robertaugustin
I'm having this issue I need to solve, using the jQuery plugin Ajaxify alongside with a couple jQuery UI Core functions. Scenario: - 4 parent ULs in a row, where child LI elements are sortables - Ajaxify plugin spawns new LI in corresponding UL by clicking a link above that UL - the LI element

[jQuery] Re: Validation plugin remote problem

2009-04-13 Thread Victorr
Sure. I translated the error messages to english so that you would understand :) http://betan.midoo.se On 13 Apr, 16:28, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Could you post a testpage? Can't see anything wrong in the snippets you provided - its probably something seemingly

[jQuery] data: null in $.ajax() settings object results in no Content-length header (FF3)

2009-04-13 Thread rmurp...@gmail.com
Just experienced this in Firefox 3, not sure whether it is desired behavior, but discussed it with a fellow dev and we think it is not. I had an ajax request as follows: var myData = null; $.ajax({ 'url' : 'foo.php', 'data' : myData, 'type' : 'POST', 'dataType' : 'json', 'success' :

[jQuery] Re: Finding ID within Ajax response

2009-04-13 Thread Ryan
In that case you would need to add something like html = 'div'+html+'/div'; to your function. Its a bit of an ugly hack I know. Having played with it a bit now. I think your probably right about it being a jquery bug. It might be worthwhile exploring which function the problem lies with then

[jQuery] jQuery Form Plugin Problem: IE7 gives Object doesn't support property or method

2009-04-13 Thread MeanStudios
Greetings, I'm using jQuery 1.3.2 and jQuery Form Plugin 2.25. My code: $('#msre_file').change(function(){ el = $(this); target = el.next(); $('#entryform').ajaxSubmit({ url: '?php echo $cp_url; ?ms_rel_file=upload',

[jQuery] Re: Finding ID within Ajax response

2009-04-13 Thread Nic Hubbard
Yeah, but my page returns a full HTML page, so I need to do something like: $(body).wrapInner('div/div'); Which, does not seem to work. On Apr 13, 3:14 pm, Ryan ryank...@gmail.com wrote: In that case you would need to add something like html = 'div'+html+'/div'; to your function. Its a

[jQuery] Re: Finding ID within Ajax response

2009-04-13 Thread Ryan
In my tests wrapping your full test html page in the div seems to work. Not pretty but works. On Apr 13, 11:29 pm, Nic Hubbard nnhubb...@gmail.com wrote: Yeah, but my page returns a full HTML page, so I need to do something like: $(body).wrapInner('div/div'); Which, does not seem to

[jQuery] Re: Validation plugin remote problem

2009-04-13 Thread Jörn Zaefferer
The response for the remote request is wrong: http://betan.midoo.se/?data%5BUser%5D%5Bemail%5D=bla%40bla.com That should be just true, nothing else. And, completely unrelated: The error message isn't hidden for a valid field. You can check the state of the field in Firebug. Once its valid, the

[jQuery] Re: Finding ID within Ajax response

2009-04-13 Thread Nic Hubbard
You are right, that did work. Thanks, I really appreciate your help on this! Had you run into this issue before? On Apr 13, 3:33 pm, Ryan ryank...@gmail.com wrote: In my tests wrapping your full test html page in the div seems to work. Not pretty but works. On Apr 13, 11:29 pm, Nic Hubbard

[jQuery] Re: Finding ID within Ajax response

2009-04-13 Thread Ryan
Glad I could help. I haven't seen this problem before even though it does seem like quite a common thing to need to do. I think with a bit more work you could come up with a more elegant work around such as using the append/prepend function in conjunction with say the body and /body tags.

[jQuery] Re: Endeavour: translating X-Library functionality click-n-drag checkboxes into Jquery

2009-04-13 Thread Lwangaman
Ok I fixed the text selection problem, in fact different browsers act differently. http://jsbin.com/ijebi/edit Also fixed the correct application of some of the events, in fact it wasn't mouseup on the document that was screwing nono but the way I was selecting elements on mousedown without

[jQuery] Re: Endeavour: translating X-Library functionality click-n-drag checkboxes into Jquery

2009-04-13 Thread Lwangaman
Latest version works with both ul lists and with tables: http://jsbin.com/aqefu/edit On 14 Apr, 00:51, Lwangaman donjohn.f...@gmail.com wrote: Ok I fixed the text selection problem, in fact different browsers act differently. http://jsbin.com/ijebi/edit Also fixed the correct application

[jQuery] Re: Trouble passing additional data with getJSON

2009-04-13 Thread Kathryn
Well, I solved the problem, but not by using getJSON. Here's the solution, in case it's helpful to anyone else. I found a page that lists a fourth undocumented (according to them--didn't have time to verify) parameter of $.post(), and that is the data type.

[jQuery] Re: serialScroll option : start -- no effect

2009-04-13 Thread Ariel Flesler
Can you provide a demo online ? Cheers -- Ariel Flesler On Apr 10, 6:17 am, Niels niels.siem...@gmail.com wrote: We're using the serialScroll method and using some of the options. Only the option start has no effect. We want to scroll at the start to element 2 and not to the default

[jQuery] Re: jQuery Cycle plugin - addslide (again)

2009-04-13 Thread ppblaauw
Maybe the issue is really addSlide in combination with slideExpr. When images are added they are prepended instead of appended. So the issue will be how to use slideExpr with addSlide. If more info is needed, please let me know On Apr 13, 8:12 am, ppblaauw ppbla...@gmail.com wrote: I read a

[jQuery] Check value when adding to array

2009-04-13 Thread Nic Hubbard
I have input values that I am adding to a array. I would like to be able to check if any of them end in _test and if so, I need to set a specific value. Is there any, in an if statement, to check if an attribute of one of the input fields ends with _test?

[jQuery] Re: Check value when adding to array

2009-04-13 Thread Nic Hubbard
Tried the following, but did not seem to work: if ($(input[name*='delete_linkid'],this)) { alert('it does!'); } On Apr 13, 5:27 pm, Nic Hubbard nnhubb...@gmail.com wrote: I have input values that I am adding to a array.  I would like to be able to check if any of them end in _test and if

[jQuery] Re: jQuery Form Plugin Problem: IE7 gives Object doesn't support property or method

2009-04-13 Thread MeanStudios
Update: I am using ExpressionEngine and am trying to edit to the publish area (for those of you wondering) and I have no control over the name attribute for the submit button and it's value is submit so I've used jQuery to change the name of the submit button to something else with this line of

[jQuery] Re: jQuery Form Plugin Problem: IE7 gives Object doesn't support property or method

2009-04-13 Thread MeanStudios
Second Update: If you remove the name attribute from the button using jQuery then it works. Just changing the name does not. All fixed. On Apr 14, 11:01 am, MeanStudios cody.lundqu...@gmail.com wrote: Update: I am using ExpressionEngine and am trying to edit to the publish area (for those

[jQuery] Re: Check value when adding to array

2009-04-13 Thread Steven Yang
try remove the single quotes if ($(input[name*=delete_linkid],this)) { alert('it does!');

[jQuery] Re: [Autocomplete] help: keyboard selection not working

2009-04-13 Thread Tom Worster
i finally figured this out after a lot of trial and error. for keyboard navigation of the suggestions menus to work you must have a style rule for the element li.ac_over defined i your css. i was astonished when i discovered this but after reading the script i think i have a notion how this can

[jQuery] Re: Check value when adding to array

2009-04-13 Thread Nic Hubbard
Could you explain this one a little more? How you coded it is a little confusing to me. On Apr 13, 6:34 pm, mkmanning michaell...@gmail.com wrote: If I understand you code, you're trying to create an array of name=value, with value being specifically set if the name has _test in it? var

[jQuery] Re: Trouble passing additional data with getJSON

2009-04-13 Thread mkmanning
My guess would be you're not returning false anywhere on the form submit, so the form is submitting. On Apr 13, 2:14 pm, Kathryn kathry...@gmail.com wrote: Hi all, I think I must be making an obvious mistake, but I can't see it. I'm trying to pass additional data to the server with getJSON,

[jQuery] Re: Check value when adding to array

2009-04-13 Thread mkmanning
If I understand you code, you're trying to create an array of name=value, with value being specifically set if the name has _test in it? var arr = $.map($('input'),function(n,i){ return n.name+'='+(n.name.indexOf('_test')!=-1?'some_value':n.value); }); On Apr 13, 5:27 pm, Nic Hubbard

[jQuery] Bug in my gallery, wtf?!

2009-04-13 Thread @oscargodson
Before I post a link: A. Yes, the code is messy, I have been trying to fix this all day, and I have restructured my code at least a dozen times, and that is why it is so messy, so please don't say try cleaning it up :) B. There are 100s of images, I just haven't sliced them all out from the

[jQuery] ajax returns data on ie safari and chrome but not firefox

2009-04-13 Thread Shannon
Can somebody take a look at this... http://www.churchboom.com/index1.asp The white my notes section on the bottom left is a div area that is loaded with an Jquery Ajax call just like 2 other areas on the page. This works fine in IE, Safari (PC), Chrome but not in Firefox. It just shows blank

[jQuery] innerfade problem

2009-04-13 Thread atomicweb
Hello, Trying to use the innerfade script, but it doesn't seem to do anything. The page I'm trying to use it on is: http://bikesonthebricks.com/jquerytest.html I copied the call at the top right from the innerfade site, and the div I'm trying to affect is just a div with a set of images inside

[jQuery] Re: jQuery 1.3.2 breaks tablesorter zebra, here's a fix

2009-04-13 Thread Gregory Foster
You guys rock, thanks for the fix. I ran into the same code as zaylril in Tablesorter 2.03. gf

[jQuery] Final Four: Grabbing Keys, Styling Columns, Pop Up Forms, Edit Select Lists?

2009-04-13 Thread briandus
Hi there - I am using jqGrid with ASP.NET and while it has really taken me quite some time to get this integration playing nicely, now that I've finally got things moving, I am so pleased. But, I have four things that I am still having some trouble with... #1) I have a table with some hidden

[jQuery] Simple innerFade problem

2009-04-13 Thread atomicweb
Hello, I'm trying to use the innerfade script, and I'm not sure what's going wrong - it seems so simple but it's still not working. Here is a link to the page: http://bikesonthebricks.com/jquerytest.html Here is the call, which I've just stuck in the page head for now: script

[jQuery] Re: Adding incremental numbered classes to divs

2009-04-13 Thread Brain Lava
Thanks everyone! You've definitely made some great points for me to consider. I'm really new to scripting (normally I can find plugins to do what I want) and you're probably right that there is a much easier solution to what I'm trying to achieve. I'm going to take your suggestions and see

[jQuery] Re: Adding incremental numbered classes to divs

2009-04-13 Thread Brain Lava
Thanks everyone! You've definitely made some great points for me to consider. I'm really new to scripting (normally I can find plugins to do what I want) and you're probably right that there is a much easier solution to what I'm trying to achieve. I'm going to take your suggestions and see

[jQuery] Re: Custom error function in jQuery Validation plugin?

2009-04-13 Thread cohq82
Can someone help pls Thanks!! On Apr 12, 12:32 pm, cohq82 quang...@gmail.com wrote: I am new to jQuery validation plugin (http://docs.jquery.com/Plugins/ Validation). What I am trying to do is to have my own error message DIV with display:none initially. If there is error, I want to run

[jQuery] Re: capture user's selection on a html page

2009-04-13 Thread RobG
On Apr 14, 4:50 am, ihomest...@gmail.com ihomest...@gmail.com wrote: Thanks for the link. This is pretty nice. Is there a special javascript even I could capture to get the user's selection? No. The page referenced by Andy uses a mouseup listener on the document. The script itself is not

[jQuery] username validation using jQuery Validation plugin

2009-04-13 Thread cohq82
Hi all, Is there a way to validate username field (no space, only letters)? I don't want to modify the code. I know this can be done easily with if statement but I just want to see if the Validation plugin has this feature already: