Click here to Skip to main content
15,889,116 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: External .js file vs. script tags; how does it work? Pin
Peter Leow17-Nov-14 14:06
professionalPeter Leow17-Nov-14 14:06 
Questionfirefox addon. required(sdk/tabs).attach() not working Pin
alborozd17-Nov-14 4:45
alborozd17-Nov-14 4:45 
AnswerRe: firefox addon. required(sdk/tabs).attach() not working Pin
ZurdoDev17-Nov-14 5:23
professionalZurdoDev17-Nov-14 5:23 
QuestionCode Modify for JS Pin
Member 1123853816-Nov-14 13:05
Member 1123853816-Nov-14 13:05 
AnswerRe: Code Modify for JS Pin
Richard MacCutchan16-Nov-14 21:39
mveRichard MacCutchan16-Nov-14 21:39 
QuestionRe: Code Modify for JS Pin
ZurdoDev17-Nov-14 5:24
professionalZurdoDev17-Nov-14 5:24 
QuestionHow to Create HTML Code in PDF Article? Pin
hub sarasota11-Nov-14 19:12
hub sarasota11-Nov-14 19:12 
QuestionSetting the content of an HTML span text to the text of an asp textbox text properity Pin
Stephen Holdorf9-Nov-14 10:04
Stephen Holdorf9-Nov-14 10:04 
I have a jQuery plug-in that set the date and time text into a HTML span. See the code below. How do I store the text in the span into the value of a text box?

C#
$('#widgetCalendar').DatePicker({
            flat: true,
            format: 'd B, Y',
            date: [new Date(now3), new Date(now4)],
            calendars: 3,
            //mode: 'range',
            starts: 1,
            onChange: function(formated) {
                $('#widgetField span').text(formated);
                // $("input[name='DTTBox']").text(formated);
            }
        });


XML
What I have tried is to set the span style="display:none" and used a textbox to receive the date which does not work:

<span style="display:none;"><asp:TextBox id="MyHiddenTextBox" runat="server" /><span>


Thanks,



Steve

AnswerRe: Setting the content of an HTML span text to the text of an asp textbox text properity Pin
Richard Deeming10-Nov-14 4:36
mveRichard Deeming10-Nov-14 4:36 
Questionissue with IE11 via Jquery/Ajax Pin
Rajendra Kumar Katabathuni6-Nov-14 21:14
Rajendra Kumar Katabathuni6-Nov-14 21:14 
AnswerRe: issue with IE11 via Jquery/Ajax Pin
Nathan Minier14-Nov-14 2:09
professionalNathan Minier14-Nov-14 2:09 
Questioncompare two array object and remove duplicate using underscore.js Pin
sagivasan6-Nov-14 2:09
sagivasan6-Nov-14 2:09 
SuggestionRe: compare two array object and remove duplicate using underscore.js Pin
ZurdoDev13-Nov-14 10:26
professionalZurdoDev13-Nov-14 10:26 
Questionjava Pin
Member 112115035-Nov-14 23:44
Member 112115035-Nov-14 23:44 
QuestionRe: java Pin
Richard MacCutchan6-Nov-14 0:02
mveRichard MacCutchan6-Nov-14 0:02 
QuestionOpening VLC player from browser Pin
Danpeking5-Nov-14 22:30
Danpeking5-Nov-14 22:30 
QuestionWhat's the best programming language to build this? Pin
beMember5-Nov-14 9:26
beMember5-Nov-14 9:26 
GeneralRe: What's the best programming language to build this? Pin
PIEBALDconsult5-Nov-14 9:32
mvePIEBALDconsult5-Nov-14 9:32 
AnswerRe: What's the best programming language to build this? Pin
Garth J Lancaster5-Nov-14 9:33
professionalGarth J Lancaster5-Nov-14 9:33 
AnswerRe: What's the best programming language to build this? Pin
Albert Holguin5-Nov-14 10:49
professionalAlbert Holguin5-Nov-14 10:49 
QuestionAngularJS Unit Test Pin
upkaar4-Nov-14 2:12
upkaar4-Nov-14 2:12 
AnswerRe: AngularJS Unit Test Pin
Richard MacCutchan4-Nov-14 2:19
mveRichard MacCutchan4-Nov-14 2:19 
GeneralRe: AngularJS Unit Test Pin
upkaar30-Jan-15 20:11
upkaar30-Jan-15 20:11 
GeneralRe: AngularJS Unit Test Pin
Richard MacCutchan30-Jan-15 21:46
mveRichard MacCutchan30-Jan-15 21:46 
AnswerRe: AngularJS Unit Test Pin
Simon_Whale4-Nov-14 3:06
Simon_Whale4-Nov-14 3:06 

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.