PHP & Javascript

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Mohit_Prog
Forum Commoner
Posts: 26
Joined: Mon Apr 23, 2007 6:10 am

PHP & Javascript

Post by Mohit_Prog »

Hi friend,

I want to use anchor tag with Prototype AJAX .

e.g., <a href="www.xyz.com">xyz</a>
and I will also put some AJAX code which checks onclick event of an Anchor tag.

Can I put a condition like that if Client Javascript is ON, it should call AJAX otherwise, it should work simple link.
User avatar
CoderGoblin
DevNet Resident
Posts: 1425
Joined: Tue Mar 16, 2004 10:03 am
Location: Aachen, Germany

Post by CoderGoblin »

Yes you can... Simply try it..
Post Reply