diff options
author | Ariel Flesler <aflesler@gmail.com> | 2008-05-27 22:46:28 +0000 |
---|---|---|
committer | Ariel Flesler <aflesler@gmail.com> | 2008-05-27 22:46:28 +0000 |
commit | c6e88b16e9f6e45d87019db45dd04d27482d25d7 (patch) | |
tree | 116d2a7b56b7fc523dca4ad708c2f851f342846b /test/data | |
parent | 7ec772374d132149d72418abce4569dedbd4168b (diff) | |
download | jquery-c6e88b16e9f6e45d87019db45dd04d27482d25d7.tar.gz jquery-c6e88b16e9f6e45d87019db45dd04d27482d25d7.zip |
test runner: a test for load() with a hash of data, and another for load() with a string of data (#1516).
It includes a php that dumps all the GET and POST vars to html elements, where the key makes the id, and the value the text.
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/params_html.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/data/params_html.php b/test/data/params_html.php new file mode 100644 index 000000000..e170e8a93 --- /dev/null +++ b/test/data/params_html.php @@ -0,0 +1,12 @@ +<div id="post">
+<?php
+ foreach( $_POST as $key=>$value )
+ echo "<b id='$key'>$value</b>";
+?>
+</div>
+<div id="get">
+<?php
+ foreach( $_GET as $key=>$value )
+ echo "<b id='$key'>$value</b>";
+?>
+</div>
\ No newline at end of file |