Can some one please help me, I am new to javascript and jquery
I got this to work in javascript and flash
this is the flash part
[COLOR=teal]var url:URLRequest = new URLRequest(“javascript:launch(argument)”); [/COLOR]
[COLOR=teal]navigateToURL(url, “_self”);[/COLOR]
[COLOR=black]javascript[/COLOR]
[COLOR=teal]function launch(com){[/COLOR]
[COLOR=teal]document.getElementById(‘content1’).style.display=(document.getElementById(‘content1’).style.display==‘none’)?‘block’:‘none’[/COLOR]
[COLOR=teal]}[/COLOR]
[COLOR=#008080][COLOR=black]I want to do the javascript part with jquery[/COLOR] [/COLOR]
[COLOR=#008080][COLOR=teal]function launch(com){[/COLOR]
[COLOR=#008080]$(’#content1’).fadeOut(“slow”);[/COLOR]
[COLOR=#008080]}[/COLOR]
[COLOR=black]But that doesn’t work???[/COLOR]
[COLOR=black]how do you recieve calls with jquery??[/COLOR]
[/COLOR]