Here is the modified code. Why would I be receiving this error? Object variable or With block variable not set.
Dim descriptionName = descriptionName.value
sb.Append("<td><div id=divPreview" & vid & " style='background-color: #F2DA79; border: 1px solid black; padding...
Does anyone know how I would do this?
'** When a user selects an option from the dropdown box an onChange event modifies the value of the hidden input box below.
sb.Append("<input type=hidden name=descriptionName_" + vid + " value=""" & ds.Tables(0).Rows(i).Item("description").ToString() &...
Does anyone know how I would do this?
'** When a user selects an option from the dropdown box an onChange event modifies the value of the hidden input box below.
sb.Append("<input type=hidden name=descriptionName_" + vid + " value=""" & ds.Tables(0).Rows(i).Item("description").ToString() &...
How would I go about allowing oNewTd4 be whatever l+1 is equal to in this for loop. I have it hardcoded as oNewTd4 and oNewTd4 but sometimes it might need to be 6 or 8 or 11, etc.
I thought this would work but it didn't.
eval("oNewTd"+(l+1));
--------------------------------
for(var l=0...
Sometimes after this for loop m will be 4, 5, 6 and up to 12. I need to know if after the loop if the value of l is > 2 then oNewTd2 to oNewTd12 should = document.createElement("");
For example if l = 6 then oNewTd7, oNewTd8, oNewTd9, oNewTd10, oNewTd11, oNewTd12 need to =...
I get a type mismatch error when using your code.
var someArray = new Array(null, null, oNewTd2, oNewTd3, oNewTd4, oNewTd5, oNewTd6, oNewTd7, oNewTd8, oNewTd9, oNewTd10, oNewTd11, oNewTd12);
someArray[l] = document.createElement("");
But this works.
if (l != 12){
oNewTd12 =...
There is too much code to paste in but I am doing a for loop to add an integer 2-12 to the end of oNewTd depending on the value of l
I will test the array you gave me. Thanks.
--------------------------------------
for(var l=0, field, elm; field=lblFieldOrder[l++];) {
oNewTd =...
How can I clean this up (possibly using an array) that would take into effect all instances of l != 2 - 12
i.e. If l != 6 then oNewTd6 - oNewTd12 should = document.createElement("");
i.e. If l != 9 then oNewTd9 - oNewTd12 should = document.createElement("");
New to javascript and not sure how...
I need to know if the value of elms is Null and if Null don't include it in the array. For example if the value of elms["liner_Year4_" + vid] is Null do not include it in the array. Does anyone know how to do this?
var elms = document.forms[0].elements;
var lts =
elms["liner_Year4_" +...
What I am trying to figure out is how to know whether the user has chosen something from the descript_" + vid + " dropdown box below? I need to only add
+ ' ' + comSignature
to document.forms[0].elements['linerTextAndDescriptionAdj_" + vid + "'].value
if someone has chosen something from the...
Does anyone know how to make a <td> not appear via javascript or HTML? I have used <td style=visibility: hidden;> but it doesn't actually remove it. There is a textbox in it that is also hidden and I want the <td> to disappear as well or not be seen at all.
Any ideas how to do this?
Any idea why I can get the Response.Write to display the number 2147 but when I uncomment this code:
'If 2491 = rsTemp2("EmployeeID") Then
and use this code:
If lHelpDeskEmployees = rsTemp2("EmployeeID") Then
I can't get the proper value to be selected in the dropdown...
I see a bunch of code snippets out on the Internet that allow right click capabilies and I am currently using one. However I can only seem to get the available options to be links to other HTML or ASP pages. What I want is to add as an option when right clicking the capability to Copy and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.