Works great for me:
http://jsbin.com/ahowi/edit
Make sure you set up the click handler before you execute the click. :)
Nathan
just go on http://www.ericmmartin.com/projects/simplemodal-demos/
and download the very simple example : OSX Style Dialog
and try it your self !
On 24 jan, 23:41, Nathan Klatt wrote:
> On Sun, Jan 24, 2010 at 4:05 PM, infojava wrote:
> > when we click on the a.osx it calls this function !
> > b
On Sun, Jan 24, 2010 at 4:05 PM, infojava wrote:
> when we click on the a.osx it calls this function !
> but $("a.osx").click; doesn't work
Sorry, dude - I'm at a loss. I assume the lack of parens after click
(should be '$("a.osx").click();' not '$("a.osx").click;') is a typo?
Could you point to
jQuery(function ($) {
$("input.osx, a.osx").click(function (e) {
e.preventDefault();
$("#osx-modal-content").modal({
overlayId: 'osx-overlay',
containerId: 'osx-container',
closeHTML: 'x
On 24 jan, 16:39, Nathan Klatt wrote:
> $().ready(function() { $("#osx").click(); });
On Sun, Jan 24, 2010 at 2:29 PM, infojava 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?
Thanks but it does not work !!!
On 24 jan, 16:39, Nathan Klatt wrote:
> On Sun, Jan 24, 2010 at 8:22 AM, infojava wrote:
> > i use a link (wich shows the demo) wich i should active if an error
> > occures, but it doesn't work !!!
>
> Wrap it in a $().ready function?
>
> $().ready(function() {
6 matches
Mail list logo