var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Using Quotations In ASP
I need to be able to use Quaotations within my ASP code but am not sure if its possible.
Heres an example, I have a variable
SetDisplayText = "<a href='" & SetLinkAction & "' onclick="NewWindow(this.href,'name','300','125','n o');return false;">" & SetCurrentNumber & "</a>"
On the OnClick, it has ("), I cannot use the tick mark (') becuase it is containined within the OnClick which sets the popup window size.
I remeber an older language where you coukd type something like /"/ and it wouldnt recognize it as closing the quotations.
The way the code above works now, after onclick where the (") is, it ends the text and starts asp.
So basically, is there a way to include a quotation (") within asp while making it look like text instead of iopening and closing the tag?
I was able to figure it out. You use 2 sets of quotations instead of 1.
See new code
SetDisplayText = "<a href=""" & SetLinkAction & """ onclick=""NewWindow(this.href,'name','300','125',' no');return false;"">" & SetCurrentNumber & "</a>"
you can also use the chr function (I think it's chr(34) but I can't be certain).