/lenasys/0.1

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/0.1

« back to all changes in this revision

Viewing changes to trunk/Code Viewer Alt/AJAX/AjaxDemoApp9_makeClick.htm

  • Committer: Henrik G.
  • Date: 2013-03-26 23:22:55 UTC
  • Revision ID: henrik.gustavsson@his.se-20130326232255-ik6snyatlbkf3zs1
First seed of Lenasys ... Needs to be Organized Further

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<span class="description">
 
2
<br>
 
3
<div class="descriptionheading">Make Click</div>
 
4
<span class="interestingdescription">booking/makeclick_XML.php</span> saves a click for a specified user, application and click-object to the database.
 
5
 
 
6
<br><br>
 
7
 
 
8
<br><br><div class='exampleheading'>Call Example:<br><br>
 
9
<pre><span class="codeexample">$.ajax({
 
10
        type: 'POST',
 
11
        url: 'booking/makeclick_XML.php',
 
12
        data: {
 
13
                customerID: escape("Haakon"),
 
14
                type: escape("Hotell_Demo"),
 
15
                clickdata: escape(clickdata) },
 
16
        success:  ResultClick
 
17
});                                     
 
18
</span></pre>
 
19
</div>
 
20
 
 
21
<br>
 
22
 
 
23
<br><div class='exampleheading'>Returned Data Example:<br>
 
24
<pre><span class="codeexample">
 
25
&lt;created status="OK"/&gt;
 
26
</span>
 
27
 
 
28
</div>
 
29
                                                                                                                                        
 
30
</span></pre>