Sign In/My Account | View Cart  
advertisement

Article:
 Very Dynamic Web Interfaces
Subject: Very nice article
Date: 2005-03-13 09:33:34
From: nicolash
Response to: Very nice article

to POST instead of GET:
xmlHttpRequestInitialize();
req.onreadystatechange = xmlHttpRequestProcessReqChange;
req.open('POST', self.location.pathname);
req.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
req.send('Whatevername=wahatevervalue&Whatevername2=wahatevervalue2');


you need to set the header
and put the data into the req.send.
(obviously better to fill the req.send by a function instead of hardcoding it!)


No Previous Message Previous Message Move up to Parent Message Up Next Message No Next Message


Titles Only Titles Only Newest First
  • Very nice article
    2010-09-05 02:55:52 starryeyed

    My current Mvc framework in asp has caused some quite advanced challenges for our programmers. Dependencies include controller, views and more. We have been successful at implementing it, at a quite high price though. It takes some time to get used to the dependency inversion model. betalningsanmärkningar (http://www.kreditkontroller.se)


Sponsored By: