Here is the script I am trying to update:
if (events[0] == "Y") {
if ((events[2] == day) && (events[1] == month)) {
theevent += "Events of: \n" + month +'/'+ day +'/'+ year + '\n';
***theevent += events[6] + '\n';***
theevent += 'Start Time: ' + events[4] + '\n';
theevent += 'Ending Time: ' + events[5] + '\n';
theevent += 'Description: ' + events[7] + '\n';
theevent += '\n -------------- \n\n';
document.forms.eventform.eventlist.value = theevent;
}
The line in question is the one that is separated in the middle with asterisks (these are not part of the code. This code pull from an Array in a .js file and places it in a text box. I want what is picked up by this line of code to be bold, but I have tried .bold(), and have tried the <b></b> and neither one work. Both of these attempts shows the <b></b> around the text that is pulled from the Array.
Any ideas how I can apply bold formatting to the text that is pulled from the array?
(I also tried to format other text in thebox, and it won't allow me to do any formatting at all)
plase help!
Smmurph
if (events[0] == "Y") {
if ((events[2] == day) && (events[1] == month)) {
theevent += "Events of: \n" + month +'/'+ day +'/'+ year + '\n';
***theevent += events[6] + '\n';***
theevent += 'Start Time: ' + events[4] + '\n';
theevent += 'Ending Time: ' + events[5] + '\n';
theevent += 'Description: ' + events[7] + '\n';
theevent += '\n -------------- \n\n';
document.forms.eventform.eventlist.value = theevent;
}
The line in question is the one that is separated in the middle with asterisks (these are not part of the code. This code pull from an Array in a .js file and places it in a text box. I want what is picked up by this line of code to be bold, but I have tried .bold(), and have tried the <b></b> and neither one work. Both of these attempts shows the <b></b> around the text that is pulled from the Array.
Any ideas how I can apply bold formatting to the text that is pulled from the array?
(I also tried to format other text in thebox, and it won't allow me to do any formatting at all)
plase help!
Smmurph