jQuery(function ($) {
        $("input.osx, a.osx").click(function (e) {
                e.preventDefault();

                $("#osx-modal-content").modal({
                        overlayId: 'osx-overlay',
                        containerId: 'osx-container',
                        closeHTML: '<div class="close"><a href="#" 
class="simplemodal-
close">x</a></div>',
                        minHeight:80,
                        opacity:65,
                        position:['0',],
                        overlayClose:true,
                        onOpen:OSX.open,
                        onClose:OSX.close
                });
        });
.................


when we click on the a.osx it calls this function !
but $("a.osx").click; doesn't work

only a real click works !!!!!!!!!!

On 24 jan, 22:04, Nathan Klatt <n8kl...@gmail.com> wrote:
> On 24 jan, 16:39, Nathan Klatt <n8kl...@gmail.com> wrote:
>
> > $().ready(function() { $("#osx").click(); });
> On Sun, Jan 24, 2010 at 2:29 PM, infojava <infojava2...@gmail.com> wrote:
> > Thanks but it does not work !!!
>
> Okay, well what's the #osx element look like? What's its click handler?
>
> Is the php file being accessed directly or via AJAX?
>
> Nathan

Reply via email to