Click here to Skip to main content
16,016,087 members

Comments by Member 8430279 (Top 8 by date)

Member 8430279 7-Feb-14 3:23am View    
Hi Joginder,

The message in bold on the top is what I am getting.

regards
Member 8430279 10-Nov-13 5:03am View    
Many thanks for your guidance Christian. It has definitely pointed me in the right direction.
Member 8430279 9-Nov-13 18:49pm View    
Hi Christian,

Looking at the standard of coding you must have guessed how complete novice I am when it comes to anything with javascript.

I did tried to run the same in chrome and resolved. I even managed to get the calender. However when I run the same in IE, error comes back.

I have now removed the following code and placed it in the page where I have got that class.

<script src="Scripts/bootstrap-datepicker.js" type="text/javascript">
var datepicker = $.fn.datepicker.noConflict(); // return $.fn.datepicker to previously assigned value
$(document).ready(function () {
$('.datepicker').datepicker();
});
$.fn.bootstrapDP = datepicker; // give $().bootstrapDP the bootstrap-datepicker functionality
$('.datepicker').datepicker({
format: 'dd/mm/yyyy',
startDate: '-3d'
});
</script>

and changed it to the following
<script src="../Scripts/bootstrap-datepicker.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
$('.datepicker').datepicker();
});
</script>

I now have 2 things to ask.
1. It looks bit awkward to write the same thing in every page where the calender is to be used.
2. How come something is working in Chrome but not in IE.
Member 8430279 6-Nov-13 2:15am View    
Sorry by "call the form" I mean when the popup open the form "getKeysforAddUpdatePropertyKey.aspx". 324 is just a default value. I actually want to pass a number in textBox "txt_property_id".
Member 8430279 6-Nov-13 2:12am View    
Rather than 324 which is just a static value, I want to pass a value which is in my textBox. I have tried debugging and the method "add_keys" is not even called.