Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:08
XMLHttpRequest in DHTML Menu
Poster: Edilsom
Dated: Friday April 7 2006 - 12:41:07 BST
How do I made that?
Can I make XMLHttpRequest with DHTML Menu?
How do I made call to javascript function?
Poster: Migru
Dated: Friday April 7 2006 - 13:56:43 BST
Hi
within the menu you can integrate your own function call. This should enable you to activate your own loadXMLDoc or xmlhttpChange JavaScript functions. Please see the documentation of the itemproperties and the sample menu no. 15, where onfunction offfunction and clickfunction are in operation.
(not using XMLHttpRequest Object , but in general calling functions)
http://www.milonic.com/menusample15.php
http://www.milonic.com/itemproperties.php
For those who don´t know what it is, a "XMLHttpRequest Object":
By using the XMLHttpRequest object, a web developer can change a page with data from the server after the page has loaded.
The XMLHttpRequest object is not a W3C standard.
The W3C DOM Level 3 "Load and Save" specification contains some similar functionality, but these are not implemented in any browsers yet. So, at the moment, if you need to send an HTTP request from a browser, you will have to use the XMLHttpRequest object.
This is done different for the different browsers and performed for instance by js-functions.
The XMLHttpRequest object is not supported by all browsers.
Michael