Jonathan,
I did see that post while researching this earlier.
Both methods in that post have a weird effect... causing Firefox to not
"see" the file!
Firefox can't find the file at /R:/Server2Go
v1.3.0/htdocs/sandbox/clicksim/function (h) { return h == undefined ?
this.length ? this[0][n] : null : this.attr(n, h);}.
Jonathan Sharp wrote:
>
> Reference this post:
>
> http://www.nabble.com/%24%28%27a%27%29-0-.click%28%29-not-working--tf2896856.html#a8092696
>
> Cheers,
> -Jonathan
>
>
> On 1/5/07, Sean O <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi,
>>
>>
>> I'm trying to simulate a click of a link on my page. (to open a jpg in
>> greybox on page load)
>> How do I do it?
>>
>> I tried click(), but it doesn't seem to do anything.
>>
>> $(function() {
>> $("#imglink").css("background","yellow").click();
>> });
>>
>> myimg.jpg My Image
>>
>> The background changes (for testing), but the click event is not
>> triggered.
>> Tips?
>>
>>
>> Thanks,
>>
>> ________
>> SEAN O
>> --
>> View this message in context:
>> http://www.nabble.com/Any-way-to-trigger-a-click-by-script--tf2926200.html#a8180306
>> Sent from the JQuery mailing list archive at Nabble.com.
>>
>>
>> _______________________________________________
>> jQuery mailing list
>> [email protected]
>> http://jquery.com/discuss/
>>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
--
View this message in context:
http://www.nabble.com/Any-way-to-trigger-a-click-by-script--tf2926200.html#a8184627
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/