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
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:
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 =
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
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
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
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'
,