[jQuery] Joining values in ajax load

2009-09-01 Thread robert...@gmail.com
Newbie here - Whenever I try to join variables I get results for first item (CustNum) only...PartNum returns as 'undefined'. Can someone tell me the problem with this code: $(document).ready(function() { $(".mybutton").click(function(event) { $("#myDiv").load("Test.asp?CustNum="+ $('#CustNum').v

[jQuery] Re: Joining values in ajax load

2009-09-02 Thread robert...@gmail.com
7;'''''''''''''''''' $(document).ready(function() { $('.mybutton').click(function(event) { var request=$(this).attr('id'); $("#showtime2"+request).load("Test.as

[jQuery] Re: Joining values in ajax load

2009-09-02 Thread robert...@gmail.com
Resolved...The issue was the recordset query ...the Jquery code was ok afterall. My lesson learned is to find a better way to test errors ... Thx On Sep 2, 9:26 am, "robert...@gmail.com" wrote: > I was trying to simplify my question and consequently may have not > asked it cor

[jQuery] Split Form field into array

2009-10-06 Thread robert...@gmail.com
I really hope someone can assist: I am trying to take a form field: The user will put in part numbers , space, qty, carraige return ,then another entry on the next lineit will look like this: bd 2 bd1200 5 I want to split this into two querystring variables before submitting to next

[jQuery] Re: Split Form field into array

2009-10-07 Thread robert...@gmail.com
l(); > Use the split() function to split each line by "\n" (return). > Then for each of those lines, split it again by " " (space). > (Store all of these in an array(s).) > Then you can use the join() function to add "," (comma) to a list in > your arr

[jQuery] Set value in Parent

2009-06-11 Thread robert...@gmail.com
Hello, I have a page in an Iframe and when the user clicks a image (href), I want a value to be set in the parent page. I don't know why this is not working...please assist. In the iframe page , dollar1 is the id of the Imagebutton, then I have a hidden variable id= setEndUser. On the parent pa

[jQuery] Re: Split Form field into array

2009-10-08 Thread robert...@gmail.com
url = 'mypage.asp?Partnum='+partNum.join(',')+'&Qty='+qty.join(','); alert(url); }); On Oct 7, 4:06 pm, James wrote: > I've set up a sample page on JS Bin:http://jsbin.com/oqeco > > Check the source for the code. > > On Oct 7,

[jQuery] Re: Split Form field into array

2009-10-08 Thread robert...@gmail.com
t;#partNum").val(), >       rows = data.split("\n"), >       partNum = [], qty = [], >       url = ''; > >   for (var i in rows) { >     var parts = rows[i].split(' '); >     partNum[i] = escape( parts[0] ); >     qty[i] = escape( parts[1

jquery-en@googlegroups.com

2009-10-19 Thread robert...@gmail.com
I am hoping someone can guide me in the right direction. I need a script or function that will capture the X & Y position of the mouse click and set it in a variabvle that I will store in DB. Caveat - I need it to be X&Y position relative to the top left position of a image *(floor plan map)...so

[jQuery] Re: detecting edge cases when swapping divs

2009-12-13 Thread robert...@gmail.com
I am trying to learn Jquery and tried to tackle this one. I figured you must identify id and class, then rename each after a movement. This seems to work ok - but I am sure there is a more elegent way to do it. http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> moving boxes experiment 1.

[jQuery] Re: detecting edge cases when swapping divs

2009-12-14 Thread robert...@gmail.com
Abbey - Here you go - this works for me in IE http://www.greenearthcrew.com/jquery/moverows.htm On Dec 14, 5:43 pm, Abbey wrote: > @Robert The code didn't work for me. > > @Charlie I tried length=0 and length=1 and the pane always goes past > the footer div. > > $(".pane .arrowdown").click(fun