[jquery-ui] Re: help with iframe

2010-03-01 Thread fleusebio
OK thanks all .This is correct and works For attributes you can use the cross browser attr() method on the jquery object like this: $(#whoja).attr(src,somevalue) -- You received this message because you are subscribed to the Google Groups jQuery UI group. To post to this group, send email

Re: [jquery-ui] Re: help with iframe

2010-02-27 Thread Nate Laws
Because $(selector) returns a jquery object which is like an array. It does not have the standard dom properties on it. To get to the dom node that was selected you use [0] or .get(0). For attributes you can use the cross browser attr() method on the jquery object like this:

[jquery-ui] Re: help with iframe

2010-02-26 Thread Frycake
Hi, I do not know why $(#whoja) this is not correct $(#whoja) is correct but it is a Jquery Object, so you have to reach src on the node $(#whoja)[0].src so On Feb 25, 11:20 pm, fleusebio fleuse...@gmail.com wrote: OK problem solved by changing                        $(#whoja).location =

[jquery-ui] Re: help with iframe

2010-02-26 Thread Roman
On Feb 26, 8:58 am, Frycake cedricalfo...@gmail.com wrote: $(#whoja) is correct but it is a Jquery Object, so you have to reach src on the node $(#whoja)[0].src so What's the [0] for? $(#whoja) is one element. -- You received this message because you are subscribed to the Google Groups

[jquery-ui] Re: help with iframe

2010-02-25 Thread fleusebio
OK problem solved by changing $(#whoja).location = xpdf;OR $(#whoja).src = xpdf; by -- document.getElementById(whoja).src = xpdf; I do not know why $(#whoja) this is not correct sorry for my English -- You received this message because you are subscribed

[jquery-ui] Re: help with iframe

2010-02-25 Thread Roman
On Feb 25, 4:20 pm, fleusebio fleuse...@gmail.com wrote: OK problem solved by changing                        $(#whoja).location = xpdf;        OR $(#whoja).src = xpdf; by     -- document.getElementById(whoja).src = xpdf; I do not know why  $(#whoja) this is not correct Why would

[jquery-ui] Re: help with iframe

2010-02-25 Thread intrader
I think that you need to specify application/pdf when you serve it. On Feb 25, 2:58 am, fleusebio fleuse...@gmail.com wrote: This is the js file jQuery(document).ready(function(){                 $(#whoja).dialog( {                         title:          'Dialog Title'                 ,