[Seasar-user:10510] kumu.jsについて
[E-MAIL ADDRESS DELETED]
[E-MAIL ADDRESS DELETED]
2007年 9月 13日 (木) 21:07:57 JST
$B!!$*@$OC$K$J$C$F$*$j$^$9!%>>86$G$9!%(B
$B!!8=:_!$(BTeeda Ajax $B$H(B JSON$B$rF1;~$K;HMQ$7$?2hLL$G0J2<$N$h$&$J(B
$B8=>]$,H/@8$7$F$*$j$^$9!%(B
$B!Z8=>]![(B
$B!!!&0J2<$N%3!<%I$r<B9T$9$k$H!$(B
$B!!!!-!!'(B{"_mode":"4","_x":"3443.212" $B!&!&!&!&!&!&!&!&!&(B "}
$B!!!!-"!'(B{{},{} $B!&!&!&!&!&!&!&!&!&(B "}
$B!!!!$H$J$j!$CM$,$J$/$J$C$F$7$^$$$^$9!%(B
=======================================================
_testItem=document.getElementsByName("TestValue");
alert(_testItem.item(0).value); $B!&!&!&!&!&!&!&!&!&!&!&!&!&!&!&!&!&!&!&!&!&!&!&!&!&(B $B-!(B
if (_testItem.item(0) != null) {
var _test=_testItem.item(0).value.parseJSON();
_testItem.item(0).value=_test.toJSONString(); $B!&!&!&!&!&!&!&!&!&(B $B"((B
alert(_testItem.item(0).value); $B!&!&!&!&!&!&!&!&!&!&!&!&!&!&!&!&!&!&!&!&!&!&!&(B $B-"(B
}
$B!!"($N(BtoJSONString()$B$r$7$?7k2L$[E-MAIL ADDRESS DELETED]$H$J$C$F$$$k$h$&$G$9!%(B
=======================================================
$B!!$=$3$G!$<ALd$G$9$,!$(Bkumu.js$B$N0J2<$N%3!<%I$r:o=|$9$k$H!$>e5-8=>]$O(B
$B!!2r>C$5$l!$@5>o$KF0:n$7$^$9!%(B
$B!!$7$+$7!$0J2<$N%3!<%I$H(BJSON$B$H$N4XO"@-$,GD0.$G$-$^$;$s!%(B
$B!!(Bkumu.js $B$G(BJSON$B$r;HMQ$9$k:]$K2?$+FCJL$JJ}K!$,$"$k$N$G$7$g$&$+!)(B
=======================================================
String.prototype = Kumu.extend(String.prototype,{
ltrim : Kumu.ltrim,
rtrim : Kumu.rtrim,
trim : Kumu.trim,
camelize : Kumu.camelize,
startsWith : Kumu.startsWith,
endsWith : Kumu.endsWith,
ignoreHead : Kumu.ignoreHead,
ignoreScripts : Kumu.ignoreScripts,
extractScripts : Kumu.extractScripts,
evalScripts : Kumu.evalScripts
});
=======================================================
$B!Z4D6-![(B
$B!!!&(Bkumu.js : teeda-1.0.11-RC1.zip $BFb$N:G?7%P!<%8%g%s(B
$B!!!&(Bjson.js : 2007-08-19 $B8=;~E@$G$N:G?7%P!<%8%g%s(B
$B0J>e$G$9!%BgJQ?=$7Lu$4$6$$$^$;$s$,!$59$7$/$*4j$$CW$7$^$9!%(B
Seasar-user メーリングリストの案内