Changeset 18180 for lang/actionscript/todoshare/jsonDB.html
- Timestamp:
- 08/24/08 18:17:29 (5 months ago)
- Files:
-
- 1 modified
-
lang/actionscript/todoshare/jsonDB.html (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/actionscript/todoshare/jsonDB.html
r17024 r18180 14 14 //alert(httpObj); 15 15 //alert(httpObj.responseText); 16 // $("res").value=httpObj.responseText.evalJSON( );17 16 $("res").value=httpObj.responseText; 17 lastResult=httpObj.responseText.evalJSON( ); 18 18 19 19 }, … … 22 22 } 23 23 }); 24 } 25 function ev() { 26 ans=eval($("cmd").value); 27 $("cmd").value=Object.toJSON(ans); 24 28 } 25 29 </script> … … 30 34 ["GET3",{ 31 35 "id":["*"], 32 "c lass":["*"],36 "category":["*"], 33 37 "content":["like","%る%"] 34 38 }] 35 39 </textarea> 36 <button onclick="exe();return false;" onsubmit="return false;">=></button> 37 <textarea rows=10 cols=40 id=res></textarea> 40 <button onclick="ev();return false;" onsubmit="return false;"><=Eval</button> 41 <button onclick="exe();return false;" onsubmit="return false;">=></button> 42 <textarea rows=10 cols=40 id=res></textarea><BR> 43 ※変数 lastResult= 最後のクエリ結果<BR> 44 ※変数 ans= 最後のEval結果<BR> 38 45 </form> 39 46 <BR>
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)