The short answer is no.
Thanks for your prompt reply.
Well, if you want more help, we'll need some extra information about what the context your code is being used in. I would recommend starting a new thread pursuant to the Forum Welcome, and clearly lay out what your specific issue is.
If that is all, then have a nice day.
Not by default. There's some plugins that can allow Javscript in posts, but as a normal function it's stripped out of any post content.
I may consider of your suggestions and try to have it works.
Anyway, thank you so much to both of you, Steneau and catacaustic
You must log in to post.