Execute AJAX call in PHP MVC? -


i using php framework "kissmvc", @ kissmvc.com.

but there aren't examples of how execute ajax call in 'view'-page. know how that?

this code placed in view:

jquery.ajax( {     type: "post",     url: '<?php echo myurl(controller_path); ?>' + "register",     data:     {        user_name: reg_username,      } }); 


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -