No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
can someone give me the code to display drop down date with default todays date selected...format dd/mm/yyyy i found the code to display month in mon format..what is to be modified in the function to get in mm format here ______________ [CODE] <script> var monthtext=['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sept','Oct','Nov','Dec']; function populatedropdown(dayfield, monthfield, yearfield){ var … |
|
please give me the code for checking the company name entered in textbox using javascript .Only sentence case to be allowed.Only abbreviations (without a full name) should not be allowed.(eg DPS) Abbreviations if any should be allowed only at the end of the name within ().eg Delhi Public School(DPS) |
|
Hi how can I replace "null" from being displayed with an empty string in a textbox on the JSPs ..depending on textbox data availability.. I tried the code [CODE]<% String phone=userInfoObj..getPhoneno(); if(phone==null||phone.equalsIgnoreCase("null")) phone=" "; %> <td > <input type="text" name="phoneno" class="txtBox" value="<%=phone %>"></td> [/CODE] but still it displays null can … |
|
I have a scenario where I show a drop-down-with-few-items in a JSP page, to the user. The length of few options in the drop down is greater than that of the drop down's, hence our requirement is to show the hovered (not selected) option as tooltip for user's convenience. I … |
|
what can be the reasons for the same code which works perfectly in notepad to not show its result in a jsp application done using eclipse??anything to do with settings? I am not able to display the current date as default in dd/mm/yyyy format in drop down menu box..only dd … |
|
Can someone tel me the code to put a dropdown box showing default values as shown below using script ..i,e by enclosing them in document.write in script <CODE> <SELECT NAME="choice" > <OPTION VALUE="1">one </OPTION > <OPTION VALUE="2">two </OPTION > <OPTION SELECTED VALUE=" 5 "> 5 </OPTION> </SELECT> </CODE> |
|
can you explain with a simple example what is jsp pagination? i ve been trying to understand the folowing code in a project..pls help ********** [code]if(appList!=null){ int pageNoPerPage=0; // Per page only 5 Page Numbers will display if(numPages%2==0) pageNoPerPage=numPages/2; // 9/2 => 4 page no per page else pageNoPerPage=(numPages/2)+1; // … |
|
In a login page of a jsp project which is almost nearing completion I created a link to google..While clicking it says page cannot be displayed?.What can be the posible reasons? |