[jQuery] Re: Get parent url and add to a textarea

2008-09-29 Thread stinhambo
window.opener.$; > $(window).load(function(){ >      $('#message',document).val(window.opener.location.href);}); > > > > Working on FF3 here > > - ricardo > > On Sep 26, 8:27 am,stinhambo<[EMAIL PROTECTED]> wrote: > > > The HTML is - > &

[jQuery] Re: Get parent url and add to a textarea

2008-09-26 Thread stinhambo
he URL of the parent opener when clicking "Email this page" $("#message").get(0).value += window.opener.location.href; On Sep 26, 10:31 am, ricardobeat <[EMAIL PROTECTED]> wrote: > Now I'm completely lost. Could you post a test page? > > So where exactly

[jQuery] Re: Get parent url and add to a textarea

2008-09-25 Thread stinhambo
s up but the parent also loads the form and no URL gets carried across. On Sep 26, 2:46 am, ricardobeat <[EMAIL PROTECTED]> wrote: > Is this line > > $("#message").get(0).value += window.opener.location.href; > > running from inside the popup? > > On Sep 25, 8:48

[jQuery] Re: Problem jQuery Selecting Input field

2008-09-25 Thread Stinhambo
Try an underscore in the ID instead. Looks like jQuery is getting confused with the colon being a selector. $(#test_name).mask() should be good enough On Sep 25, 11:28 pm, Faisal Basra <[EMAIL PROTECTED]> wrote: > Hi, I am unable to select the input filed based on ID, i am using JSF > and that

[jQuery] Re: Toggle Only the below the on click

2008-09-25 Thread Stinhambo
I didn't realise .nextAll existed! I was using this - $("dt.solution").click(function() { // This is for toggling multiple dd elements var obj = $(this).next(); // when you click dt.solution while (obj.is("dd")) { // it

[jQuery] Re: Get parent url and add to a textarea

2008-09-25 Thread Stinhambo
I am having some problems with that bit of code. Basically I am launching a popup window and this is my js file - $('a[rel="email_page"]').click(function(){ window.open(this.href,'mywindow','height=580,width=400,scrollTo,resizable=0,scrollbars=0,location=0','false'); return false; });

[jQuery] Re: Get parent url and add to a textarea

2008-09-23 Thread Stinhambo
Wow that's great and it works too! What is the square bracket and zero for? On Sep 23, 11:14 pm, BB <[EMAIL PROTECTED]> wrote: > The smallest thing would be: > > $("#message")[0].value += window.opener.location.href; > > On 23 Sep., 15:09, Stinhambo <[EMAI

[jQuery] Re: Get parent url and add to a textarea

2008-09-23 Thread Stinhambo
I managed to achieve what I wanted with this - document.getElementById('message').value += window.opener.location.href; in the jquery file but I can't work out the proper jquery way. I'd love to know! On Sep 23, 9:42 pm, Stinhambo <[EMAIL PROTECTED]> wrote: > Hi

[jQuery] Re: Toggle Script not working in IE6

2008-09-23 Thread Stinhambo
/validator.w3.org/ > > --Karl > > > Karl Swedbergwww.englishrules.comwww.learningjquery.com > > On Sep 11, 2008, at 1:41 AM, Stinhambo wrote: > > > > > Hi all, > > > I have been wrestling with this all day and finally found a solution > &

[jQuery] Get parent url and add to a textarea

2008-09-23 Thread Stinhambo
Hi all! I have some js that opens a popup window based on the rel attribute - $('a[rel="email_page"]').click(function(){ window.open(this.href,'mywindow','height=580,width=400,scrollTo,resizable=0,scrollbars=0,location=0','false'); return false; }); But what I want to achieve is t

[jQuery] Toggle Script not working in IE6

2008-09-11 Thread Stinhambo
Hi all, I have been wrestling with this all day and finally found a solution only to find it doesn't work in IE6! Here is my HTML - [code] Solutions by Business Need Solution 1 Product Name #1