[jQuery] Re: Read PARAM from Object

2007-06-20 Thread Scott Sauyet
Rui Costa wrote: well, at the right side of the wmv video, there are a list of videos, and i need to click, and change de source of the video and start to play, I have no experience with embedded media. You might want to check out: http://jquery.com/plugins/project/media Another though

[jQuery] Re: Read PARAM from Object

2007-06-20 Thread Rui Costa
so far so good. i'm getting the solution i need. well, at the right side of the wmv video, there are a list of videos, and i need to click, and change de source of the video and start to play, so i try this: $("#mediaPlayer [EMAIL PROTECTED]")[0].value = $("#" + this.id).attr('title'); // it's t

[jQuery] Re: Read PARAM from Object

2007-06-20 Thread Scott Sauyet
> i need to access to DATA parameter at the OBJECT tag. $("#mediaPlayer")[0].data

[jQuery] Re: Read PARAM from Object

2007-06-20 Thread Rui Costa
one more thing, i need to access to DATA parameter at the OBJECT tag. what the changes to this line : $("#mediaPlayer [EMAIL PROTECTED]")[0].value; ? thks one more time

[jQuery] Re: Read PARAM from Object

2007-06-20 Thread Rui Costa
you're right. what a fail thanks for this.

[jQuery] Re: Read PARAM from Object

2007-06-20 Thread Scott Sauyet
Rui Costa wrote: http://www.mobiliarioemnoticia.pt/wmv/testemunhos.asp i add 2 buttons. click them. Can you try this inside an HTML page? I have no idea how JQuery is supposed to act when there is no HTML, tag, no BODY tag, etc. I don't see anything wrong other than that, but that may be

[jQuery] Re: Read PARAM from Object

2007-06-20 Thread Rui Costa
http://www.mobiliarioemnoticia.pt/wmv/testemunhos.asp i add 2 buttons. click them.

[jQuery] Re: Read PARAM from Object

2007-06-20 Thread Scott Sauyet
Rui Costa wrote: thanks, but i put your sentece into an alert command, and de alert window don't opened. if remove [0] the alert window shows undefined. Any other option? Do you have a test page available? It works for me: http://scott.sauyet.com/test/JQuery/Tests/ParamFromObject.html

[jQuery] Re: Read PARAM from Object

2007-06-20 Thread Rui Costa
hi scott, thanks, but i put your sentece into an alert command, and de alert window don't opened. if remove [0] the alert window shows undefined. Any other option?

[jQuery] Re: Read PARAM from Object

2007-06-20 Thread Scott Sauyet
Rui Costa wrote: Anyone knows how to read DATA and Param name fileName with Jquery? [ ... ] I'm not quite sure what you're asking. If you are looking for the value of the param with the name "fileName", you should be able to use something like $("#mediaPlayer [EMAIL PROTECTED]")[0]