cellClickEvent in datatable not firing in Internet Explorer 7/8

View: New views
5 Messages — Rating Filter:   Alert me  

cellClickEvent in datatable not firing in Internet Explorer 7/8

by juliebonniedaisy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I am unable to get cellClickEvent to fire in IE7 or 8 but it works fine in Firefox.  Any ideas please?

sDataTable.subscribe('cellClickEvent', alert("hi"););


http://codepad.org/GJkXWAZN       


Re: cellClickEvent in datatable not firing in Internet Explorer 7/8

by Christian Tiberg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I usually do something like this:

sDataTable.subscribe('cellClickEvent', function() { alert("hi") };);

It seems like it works better if there's an actual function to call :)

Best regards,
 Christian Tiberg


2009/10/28 juliebonniedaisy <juliebonniedaisy@...>

>
>
>
> I am unable to get cellClickEvent to fire in IE7 or 8 but it works fine in
> Firefox. Any ideas please?
>
> sDataTable.subscribe('cellClickEvent', alert("hi"););
>
> http://codepad.org/GJkXWAZN
>
>  
>

Re: cellClickEvent in datatable not firing in Internet Explorer 7/8

by Satyam-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The second argument has to be a function, not an expression.

sDataTable.subscribe('cellClickEvent', function () {alert("hi");});



juliebonniedaisy escribió:

> I am unable to get cellClickEvent to fire in IE7 or 8 but it works fine in Firefox.  Any ideas please?
>
> sDataTable.subscribe('cellClickEvent', alert("hi"););
>
>
> http://codepad.org/GJkXWAZN       
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.5.423 / Virus Database: 270.14.34/2463 - Release Date: 10/27/09 15:50:00
>
>  

Re: cellClickEvent in datatable not firing in Internet Explorer 7/8

by juliebonniedaisy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It's working fine with
sDataTable.subscribe('cellClickEvent', function() { alert("hi") };);
thank you.

I was calling a function before when I ran into the problem.  I tried clearing the cache in IE7 and IE8 but it still didn't fire.  I'm not sure why it healed but it is now working.
CTRL-F5 should clear their cache. yes ?

Thanks for the great info.

--- In ydn-javascript@..., Christian Tiberg <ctiberg@...> wrote:

>
> I usually do something like this:
>
> sDataTable.subscribe('cellClickEvent', function() { alert("hi") };);
>
> It seems like it works better if there's an actual function to call :)
>
> Best regards,
>  Christian Tiberg
>
>
> 2009/10/28 juliebonniedaisy <juliebonniedaisy@...>
>
> >
> >
> >
> > I am unable to get cellClickEvent to fire in IE7 or 8 but it works fine in
> > Firefox. Any ideas please?
> >
> > sDataTable.subscribe('cellClickEvent', alert("hi"););
> >
> > http://codepad.org/GJkXWAZN
> >
> >  
> >
>



Re: cellClickEvent in datatable not firing in Internet Explorer 7/8

by juliebonniedaisy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

fwiw, i found that by setting IE to "Check for new versions of stored files" " Every time I visit the webpage" that it fixed my inability to clear the cache.  Now the events fire as expected.

http://www.vistax64.com/attachments/tutorials/1273d1232211700t-internet-explorer-temporary-internet-files-settings-history_settings.jpg



--- In ydn-javascript@..., "juliebonniedaisy" <juliebonniedaisy@...> wrote:

>
> It's working fine with
> sDataTable.subscribe('cellClickEvent', function() { alert("hi") };);
> thank you.
>
> I was calling a function before when I ran into the problem.  I tried clearing the cache in IE7 and IE8 but it still didn't fire.  I'm not sure why it healed but it is now working.
> CTRL-F5 should clear their cache. yes ?
>
> Thanks for the great info.
>
> --- In ydn-javascript@..., Christian Tiberg <ctiberg@> wrote:
> >
> > I usually do something like this:
> >
> > sDataTable.subscribe('cellClickEvent', function() { alert("hi") };);
> >
> > It seems like it works better if there's an actual function to call :)
> >
> > Best regards,
> >  Christian Tiberg
> >
> >
> > 2009/10/28 juliebonniedaisy <juliebonniedaisy@>
> >
> > >
> > >
> > >
> > > I am unable to get cellClickEvent to fire in IE7 or 8 but it works fine in
> > > Firefox. Any ideas please?
> > >
> > > sDataTable.subscribe('cellClickEvent', alert("hi"););
> > >
> > > http://codepad.org/GJkXWAZN
> > >
> > >  
> > >
> >
>