Below, removing the 't' from the input name, cause button click to change to 'INPUT'
<form name="f1">
<input type="text" id="foo" name="uhuh" value="66" />
<input type="text" name="thesellt"
onchange="alert($.inArray(this, document['f1']['thesell'])!=-1);"
/>
<select name="thesell"><option value="1">one</option>
<option value="2">two</option>
</select>
<input type="text" name="farr" value="33"/>
<button onclick="alert(document['f1']['thesell'].length +document['f1']['thesell'][0].tagName
);return false;">clikme</button>
</form>gt;one
Saturday, October 26, 2013
Wednesday, July 17, 2013
Invariants, Primitives
Learned about Invariants (how are these related if at all to business rule enforcement?) and topics of primitives, e.g. named primitives and how they can be a source of OO classes and regarding primitive obsession code smell.
Tuesday, July 2, 2013
C Basics
Was wondering about how the iterator over a pointer worked by simply adding 1 in final example of http://en.wikipedia.org/wiki/Struct_(C_programming_language). Answer:
Because pointers in BCPL and B are merely integer indices in the memory array, arithmetic on them is meaningful: if p is the address of a cell, then p+1 is the address of the next cell.http://plan9.bell-labs.com/who/dmr/chist.html
Wednesday, May 1, 2013
Monday, April 29, 2013
Java Learning
http://javarevisited.blogspot.com/ - read articles in archives
http://javarticles.com/ - example based articles
http://javarticles.com/ - example based articles
Tuesday, April 23, 2013
Java Tutorials
http://www.mkyong.com/webservices/jax-ws/jax-ws-hello-world-example/
-note compile with javac -d, to create directory structure matching package. then execute in parent folder of 'com' java com.mkyong.endpoint.HelloWorldPublisher
-note compile with javac -d, to create directory structure matching package. then execute in parent folder of 'com' java com.mkyong.endpoint.HelloWorldPublisher
Monday, April 22, 2013
Servlets v. CGI
Servlets are thread-based while CGI is process (forked) based.
http://en.wikipedia.org/wiki/Java_Servlet
http://en.wikipedia.org/wiki/Java_Servlet
Friday, April 5, 2013
Tuesday, April 2, 2013
Saturday, March 16, 2013
Helpful ASP.NET Articles
Sitemap showing all .aspx files automatically note my comment (awgtek) regarding the slight change to the code
Subscribe to:
Posts (Atom)