Click here to Skip to main content
15,891,657 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: Javascript click event handler Pin
yaswanth.1614-May-14 7:01
yaswanth.1614-May-14 7:01 
Questionhow I can use a variable passed by parameter in a javascript function in a lambda expression? Pin
Francisco Cruz8-May-14 9:09
Francisco Cruz8-May-14 9:09 
QuestionDate formatting - Charts Pin
miss7868-May-14 5:49
miss7868-May-14 5:49 
AnswerRe: Date formatting - Charts Pin
thatraja9-May-14 3:48
professionalthatraja9-May-14 3:48 
GeneralRe: Date formatting - Charts Pin
miss78612-May-14 3:37
miss78612-May-14 3:37 
GeneralRe: Date formatting - Charts Pin
thatraja14-May-14 7:49
professionalthatraja14-May-14 7:49 
GeneralRe: Date formatting - Charts Pin
Sunasara Imdadhusen21-May-14 23:39
professionalSunasara Imdadhusen21-May-14 23:39 
QuestionHow to disable JqueryDateTime Picker Image button Pin
pkarthionline1-May-14 21:51
pkarthionline1-May-14 21:51 
Hi,
How to disable JqueryDateTime Picker Image button .
But textbox i can disable ,I can't do Image button.

here code i am try it.

function disableDate() {
debugger;
document.getElementById('txtStartDate').disabled = true;
$get('txtStartDate').style.color = "gray";
$get('txtStartDate').disabled = true;




$('txtStartDate').datepicker('disable');

$('txtStartDate').datepicker('setDate', new Date()).datepicker('disable').blur();


$('txtStartDate').disableSelection = true;


}





<input id="txtStartDate" runat="server" class="TextBox DatePicker"
style="width: 125px" />


<style>
.ui-datepicker-trigger
{
position: relative;
top: 4px;
right: -3px;
height: 17px;
}
</style>
<script language="javascript" type="text/javascript">
var Dformat = "";
$(document).ready(function () {
var selectvalStartDate = $("#txtStartDate").val();
var sVal = document.getElementById('hdnPORTALID').value;
Dformat = GetDatePickerFormat(sVal);
$(".DatePicker").attr("placeholder", "Select date").datepicker({
showOn: "both",
buttonImage: "../images/datepicker_enable.png",
buttonImageOnly: true,
changeMonth: true,
changeYear: true,
dateFormat: Dformat
});

});
</script>


thanks,
Karthikeyan,
AnswerRe: How to disable JqueryDateTime Picker Image button Pin
Praneet Nadkar4-May-14 22:14
Praneet Nadkar4-May-14 22:14 
AnswerRe: How to disable JqueryDateTime Picker Image button Pin
Dhruvin Bhatt9-May-14 2:29
Dhruvin Bhatt9-May-14 2:29 
QuestionJavascript Pin
amitkumar12788@gmail.com28-Apr-14 23:20
professionalamitkumar12788@gmail.com28-Apr-14 23:20 
AnswerRe: Javascript Pin
thatraja7-May-14 5:21
professionalthatraja7-May-14 5:21 
AnswerRe: Javascript Pin
Anurag Gandhi16-May-14 4:13
professionalAnurag Gandhi16-May-14 4:13 
QuestionShowing blank page on IE Pin
Subin Mavunkal23-Apr-14 22:09
Subin Mavunkal23-Apr-14 22:09 
AnswerRe: Showing blank page on IE Pin
vbmike24-Apr-14 6:26
vbmike24-Apr-14 6:26 
AnswerRe: Showing blank page on IE Pin
V.25-Apr-14 2:04
professionalV.25-Apr-14 2:04 
QuestionJQPlot legend styling [SOLVED] Pin
V.22-Apr-14 21:33
professionalV.22-Apr-14 21:33 
QuestionHelp with class assignment Pin
GeraldBlackmore22-Apr-14 17:56
GeraldBlackmore22-Apr-14 17:56 
AnswerRe: Help with class assignment Pin
Peter Leow22-Apr-14 18:17
professionalPeter Leow22-Apr-14 18:17 
SuggestionRe: Help with class assignment Pin
Richard Deeming23-Apr-14 1:32
mveRichard Deeming23-Apr-14 1:32 
GeneralRe: Help with class assignment Pin
GeraldBlackmore24-Apr-14 16:37
GeraldBlackmore24-Apr-14 16:37 
AnswerRe: Help with class assignment Pin
vbmike24-Apr-14 6:12
vbmike24-Apr-14 6:12 
GeneralRe: Help with class assignment Pin
GeraldBlackmore24-Apr-14 16:38
GeraldBlackmore24-Apr-14 16:38 
Questionis it possible to get a value from another page using JavaScript language? Pin
Hakan Bulut21-Apr-14 21:43
Hakan Bulut21-Apr-14 21:43 
AnswerRe: is it possible to get a value from another page using JavaScript language? Pin
Blikkies21-Apr-14 21:55
professionalBlikkies21-Apr-14 21:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.