Jump to content

Raj_100

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by Raj_100

  1. hi , the calender funtion is not working in Jsp page.if i click calender image in jsp page the calender popup need to come.but it's not working.in jsp page the onclick return fucntion is not working and i tryied to import and include js file into jsp file but it;s not working kindly provide some suggestion on this issue

    post-176050-0-02024800-1410159423.gif

  2. function validateLoginForm(){
    var username = document.getElementById("firstname").value;
    var password = document.getElementById("password").value;
    var rolesList = document.getElementById("stdid");
    var roleValue = rolesList.options[rolesList.selectedIndex].value;
    if((username == null ||username =='') || (password == null||password=='') || stdid =='EMPTY_ROLE'){
    document.getElementById("password").value = "";
    document.getElementById('nullValidation').innerHTML = '<font color="#FF0000" size="1">Please enter a valid User ID, Stdid& Password before login.</font>';
    return false;
    }else{
    document.getElementById("stdid").value = roleValue;
    alert(document.getElementById("stdid").value);
    return true;
    }
    }
    If i set alert(document.getElementById("stdid").value); msg . Alertbox populated but when i check in chrome alertbox ix not coming and Stdid value is setting null.
    Please suggestion on this issue
  3. Hi can any one help on this below issue: in javascript dropw down list sending a null value.i have 2 textfiled and one drop down list. when i enter username and passaword and drop down is good.but issue is when i submit the dropdown value is null for chrome and issue is working fine in IE.for this i can able to see in log file. i hope issue with "document.getElementById("stdid ").value=stdrole" Can anyone tell me solution for this. Thanks in a Advance Regards Raj Kumar R

×
×
  • Create New...