Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

a4j function versus javascript function

 
Robert Darling
Ranch Hand
Posts: 100
Android Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18091
48
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The browser doesn't know. The browser doesn't care.

I'm not sure what you mean by "a4j function", though.
 
Max Katz
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you use a4j:jsFucntion, a standard JavaScript function is rendered to the page. So, it's just a plain JavaScript function.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic