Posts

Showing posts from January, 2014

Javascript - Calculate Time Difference

Reference From: Calculate Time Difference with JavaScript [Stack Over Flow]

Android - Layout Error - Incorrect line ending

In layout file (xml file) if you found error: Incorrect line ending: found carriage return (\r) without corresponding newline (\n) . You should remove "\r", "\n" in your xml file. To solve this error , you can press "Ctrl + Shift + F" to remove "\r", "\n". It's so quickly.

JQuery - Get Checkbox value

JQuery - Count element in div

Javascript - Input Numeric Only

Javascript - Include javascript to .aspx file but it did not render

When I include javascript file into .aspx file by use "/" at the end script tag ( <script/> ) ex: The result is white screen no render and if I view source I found the right code to display but browser isn't render and not show any warning/error. But... If I use <script></script> ex: It can render and display. If you have the issue like me, please check and try my way.

Javascript - Remove Leading Zero