Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

can we use Ajax and JavaScript  RSS feed

 
Mahendra Pratap
Ranch Hand
Posts: 42
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everyone,

Can we use normal Javascript in a same jsf page in which we are using Ajax?

please tell me because i trying to do this but it is showing some error..

 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
AJAX is normal JavaScript. AJAX is simply the use of JavaScript to interact with the server on a displayed page without transmitting an entire new page.

And yes, not only is "regular" JavaScript usable alongside AJAX, many web pages - including no few of my own - wouldn't work otherwise.

However, JavaScript of any type is typically going to change the page environment. So different bits of JavaScript (AJAX or otherwise) can potentially conflict with each other.

Beyond that, I can't say anything - you'll have to tell us what the actual problem is.
 
Mansi Mishra
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mahendra Pratap wrote:Hello Everyone,

Can we use normal Javascript in a same jsf page in which we are using Ajax?

please tell me because i trying to do this but it is showing some error..



Yes they do work together...
may be you could tell us your exact problem, to get some helpful responses...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!