Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Javascript function window.onload cant run

  1. #1
    Junior Member
    Join Date
    Nov 2009
    Posts
    15
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Javascript function window.onload cant run

    my code:
     
          <link rel="stylesheet" type="text/css" media="all" href="jsDatePick_rtl.min.css"/>
     
          <script type="text/javascript" src="img/jsDatePick..min.1.3.js"></script>
     
          <script type="text/javascript">
     
          window.onload = function(){
     
          new JsDatePick.({
     
          useMode:2,
     
          target:"dateStartAppraisal",
     
          dateFormat:"%Y-%m-%d"
     
     
     
          });
     
          };
     
          </script>
     
          <input name="dateStartAppraisal" type="text" id="dateStartAppraisal" >

    I wish to pop out a date with just mouse click on textfield. I have downloaded javascript and css from online..and I still cant manage to get pop out..
    any1 help?


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,354
    Thanks
    182
    Thanked 832 Times in 775 Posts
    Blog Entries
    5

    Default Re: Javascript function window.onload cant run

    javascript != java. You may received help here, however - as these are java forums - you might try your luck at a more dedicated javascript forum.

  3. #3
    Junior Member
    Join Date
    Nov 2009
    Posts
    15
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Javascript function window.onload cant run

    sorry moderator.I m stucked for a few hours.anyway sorry about that. u could delete my post ..

Similar Threads

  1. Javascript function returns NaN
    By jai in forum Other Programming Languages
    Replies: 2
    Last Post: April 19th, 2011, 03:31 AM
  2. Craating non active window ,and inputing to the non active window.
    By java-beginner in forum Java Theory & Questions
    Replies: 0
    Last Post: February 25th, 2011, 10:13 PM
  3. javascript problem
    By kundan_101 in forum Member Introductions
    Replies: 2
    Last Post: December 30th, 2010, 09:02 AM
  4. Java onLoad event after validation is complete
    By macrat101 in forum Loops & Control Statements
    Replies: 1
    Last Post: September 4th, 2010, 04:14 PM
  5. How can i put session in Javascript?
    By rajani in forum JavaServer Pages: JSP & JSTL
    Replies: 2
    Last Post: July 8th, 2009, 01:46 PM