How to do HTML_AJAX integrate with other Javascript AJAX libraries such as scriptaculous? How would this integration look like?
Submitted by: AdministratorTo do this you just need to register the library with your server and load add its flag to your include line.
<?php
$this->server->registerJSLibrary('scriptaculous',
array('prototype.js','scriptaculous.js','builder.js','
effects.js','dragdrop.js','controls.js','slider.js'),'/pathto/scriptaculous/');
?>
<script type="text/javascrpt" src="server.php?client=scriptaculous">
</script>
Submitted by:
<?php
$this->server->registerJSLibrary('scriptaculous',
array('prototype.js','scriptaculous.js','builder.js','
effects.js','dragdrop.js','controls.js','slider.js'),'/pathto/scriptaculous/');
?>
<script type="text/javascrpt" src="server.php?client=scriptaculous">
</script>
Submitted by:
Read Online Web Development Job Interview Questions And Answers
Top Web Development Questions
☺ | How to include comments in HTML? |
☺ | Define JavaScript? |
☺ | How you create arrays in JavaScript? |
☺ | What is the relationship between JavaScript and ECMAScript? |
☺ | What is w3c? |
Top Coding/Programming Categories
☺ | Python Interview Questions. |
☺ | OOP Interview Questions. |
☺ | Software engineering Interview Questions. |
☺ | PHP Interview Questions. |
☺ | VBA (Visual Basic for Applications) Interview Questions. |