jQuery in Action, 2nd edition*
The moose likes JSF and the fly likes a4j function versus javascript function Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "a4j function versus javascript function" Watch "a4j function versus javascript function" New topic
Author

a4j function versus javascript function

Robert Darling
Ranch Hand

Joined: Jun 21, 2008
Posts: 100

Hi,

Just wondering that if we call a a4j function from a java script function, how does the browser no if this is a plain java script function or a arj function. And secondly what if the names of 2 functions collide like a a4j function has the name of a Java Script function?

Kind Regards,
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16145
    
  21

The browser doesn't know. The browser doesn't care.

I'm not sure what you mean by "a4j function", though.


Customer surveys are for companies who didn't pay proper attention to begin with.
Max Katz
Ranch Hand

Joined: Aug 03, 2009
Posts: 72
When you use a4j:jsFucntion, a standard JavaScript function is rendered to the page. So, it's just a plain JavaScript function.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: a4j function versus javascript function