Carriage Return Does Not Display Properly In Mozilla In A Title Attribute
Am facing a problem when trying to display a carriage return in firefox in a title attribute,i ve tried using VbCr and chr(13) ,in either cases a strange character appears instead of the carriage return. does anyone know about this error. The code looks like this:
titles(iday) = titles(iday) & chr(13) & objRS("event_title")
<a href="javascript:showevent('0<%=links(i)%>')" title=" <%=titles(i)%>"><%=i%></a>
Am not having this strange character when running it on explorer.
View Replies
ADVERTISEMENT
am trying to make a carriage return of the following:
Mailer.BodyText = "From: " & Request.Form("FRM") & VbCrLf & VbCrLf & "Message: " & Request.Form("MSG")
but it doesnt work.
when i received the email on my mailbox, the format is all in one line, like this:
From: John Message: Test message only
but i would like the "Message:" to appear in the second line.
View Replies
View Related
This code doesn't give me a carriage return.Why?
strEmailMess= "Name: " & strName &vbCrLf
strEmailMess= strEmailMess & "Email Address: " & strEmailUser &vbCrLf
Also this code takes user to aspemail.asp page.I want it to go to a page of my chosing, like www.newpage.com
If MyMail.Send Then
Response.Write("Message Sent With ASPEMail.<br />")
Else
Response.Write("Message Not Sent With ASPEMail.<br />")
End If
View Replies
View Related
how can i get this to work? trying to get carridge returns display in the output:
strBody = strBody & "<td width=550><font class='data3'>" & Request.Form("subject"),VBCrLf, "<br />"
View Replies
View Related
I want to send an Email using ASP (I know how to to this) The body of the Email contains several variabels How do I concat string values and separate them by carriage returns/ Line
feeds?
View Replies
View Related
I have some aspUpload code running that validates and uploads files beautifully to my web server. It uploads upto 3 files at a time and produces a message for each whether it be successful or not. The problem I have is that the 3 messages come out in one long line. I'd like to put each on a new line. Below is my code.....
View Replies
View Related
I have a field in a SQL Server table named DetailedDescription that is
a varchar. If the user adds/edits a detailed description, they do so
in a MulltiLine TextBox control. Therefore, they are able to click
enter on their keyboard and have multiple carriage returns inside the
DetaildDescription. Code:
View Replies
View Related
I am performing a post from one classic ASP page to another in order to get the value of a string passed between the two pages. I have a client script variable declared to take the value of the value being received in the page i.e. var x = '<%=varName%>'. Unfortunately, ASP seems to be adding a carriage return to the value of varName when it
is passed in i.e. it expands the stated line to var x = 'FieldContents';. I.e. somewhere a carriage return has been added. The string gets passed in OK if I use the Get mechanism. Don't know why this carriage return is being added when using Post mechanism. Anybody seen this before? Is it a bug in ASP ?
View Replies
View Related
how to replace carriage return upon extracting text from Access file.
However I think it will be smarter to do it before (during) inserting text into acess file.
It might be primitive question, but I started my ASP learning just last week and many things are confusing me on this stage.
QUESTION:
What should I change in my ASP file code (file inserted data from the HTML form file into database file) to replace all carriage returns and line brakes during inserting text into field GuestSory? Code:
View Replies
View Related
I am trying to display "No title" if the doctitle I am selecting is null or is empty. Code:
View Replies
View Related
the meaning of the " H010818" which has started appearing in my log files?
View Replies
View Related
This works perfectly on Windows IE 6.x and Mac IE.
However, in order to be cross-platform compatible, I need to make this work
on Mac Safari and Mozilla Firefox. Could someone point out how to fix this
code to make it compatible with those aforementioned browsers?
View Replies
View Related
I try to run localhost on other browser other than IE, in this case i run on FireFox Mozilla.Can anyone tell me why does the browser popup with the security windows where i need to type a Username and password. However, that wouldn't happen if i run on IE. Is there a special setting where IIS can check whether a user run scripts on that type of server on other browsers than IE.
View Replies
View Related
I have encountered a strange problem. I m making a playlist (asx file dynamically) from database after the user selects a few songs from a checkbox list. The data is stored in a dictionary object and is saved in session variable across pages.
This works totally fine and perfect in IE but in mozilla ff/netscape, the code crashes. Actually, if i don't run the media player(not wrting the content), then code runs fine but if i use response.write to c wht's happening, it doesn't write anything but veiwing on page source, the code actually worked fine.
However, the moment, i provide the contebnt type for media player, it crashes showing error that session variable is empty or some other key error which seems totally irrelevant when running IE.
View Replies
View Related
I am trying to pass sessions (namely an XML object stored in an ASP session), which work fine in IE, but fail to pass in Mozilla 1.7. Is there a way around this?
View Replies
View Related
I am using sessions to check if user is logged in or not and on the basis of that i redirect to the main page. For the matter iam using frames and based on condition i change the src. The session gets killed if i use the logoff button provided on the screen or when i close the browser and restart it default property,This works fine in IE.
But when i tried it out in mozilla and other browsers which support tabbed pages i encountered the problem when user closes the tab page directly, since the browser hadnt been closed ( only the tab page ) and if i type the web site address as the session hasnt been destroyed it shows the main page directly bypassing the logon page.
View Replies
View Related
I am trying to generate a tree view in asp 3,0 using sql server.Whats happening is its not pulling the data from the database i can only see folders and the gifs but not the actual data. Code:
View Replies
View Related
I have an upload script that seems to fail in Firefox and Mozilla based browsers when it hits the .SaveToFile Method. It works fine in IE. Is this a documented bug? Is there a work around?
View Replies
View Related
I want to know if we need id attribute? Or just name attribute is fine?
For example:
Name: <input type="text" id="text" name="fname">
View Replies
View Related
The code
<input type="button" name="btn" value="ok">
will produce a html button with caption ok and value ok.
The problem is the width of button is dependent on the length of
attribute value.
And I do the following, which is not a good solution.
<input type="button" name="btn" value=" ok ">
The problem is if I want to get the button's value:
Request.Form("btn"), then I need to trim the data.
View Replies
View Related
i want some points, that is browser compatibility in ASP doesnot support by netscafe and mozilla.
View Replies
View Related
Does anyone know of a way where I can remove an attribute from a querystring? For example, say my URL is thispage.asp?view=all&filter=col1 is there a way I can request the querystring but remove the filter=col1 attribute?
View Replies
View Related
I was wondering if there was a CDOSYS attribute to mark the importance of mail messages. I'd like to set their importance to "80" so the CDO Generated messages are treated as low priority by my mail server.
I was wondering if their was an configuration attribute like the following which I could use.
ObjMessage.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing")=2
ObjMessage.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") ="mail.domain.com"
ObjMessage.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport")=25
ObjMessage.Configuration.Fields.Update
View Replies
View Related
I have some code to build a table list of all our clients in xml i am buioding an html table with all the links using asp here is the code:
View Replies
View Related
I am trying to update and append to an existing XML file. However I seem to be stuck. I am using ASP as my scripting language.
The form fields has the same value as the KEY attribute so all i have to do is loop through the submiting form for its fields and use the name to update the XML via the keys... Code:
View Replies
View Related
I created an RSS script for my readers to use, but I have been having some minor issues with it.
Actuallyit works fine and I have tested it in 3 feed readers without a problem. Still it does not output as perfect XML if you go here you will see what I mean. Code:
View Replies
View Related
The basic gist of this is that it makes downloading of podcast's available (currently) all the time. However I need it to make them available if and only if the date is the day after the podcast is recorded.
Currently the site is making them available the day before they're actually ready. How can I code this so that the asp page knows that the podcast should be available only on the day it is actually ready? Code:
View Replies
View Related
I have some ASP.NET code which works fine on IE, but on Mozilla Firefox it completely ignores the width attribute and puts the images out at their full size.
here is the code....
View Replies
View Related
I am trying to scroll through all elements in my page testing each element for a particular id I have set a <td> tage :
<td id="myvalue">blah</td>
does anyone have any JS I can use to scroll through elements checknig the id attribute???
can I wrap the <td> in a <form> and use :
<code>
numelements = document.form1.elements.length;
for (var j=0; (j < numelements); j++)
if (document.form1.elements[j].id == "saletotal") {
alert("INSALETOTAL");
strsumsaletotal = document.form1.elements[j].text;
break;
}
</code>
View Replies
View Related
I have a asp page where a checkbox, when clicked will disable all text boxes
associated with the page.
The following is a part of a code for the checkbox with its name and
readonly attributes. name="chk_Complete" <%= isReadOnly %>
I have to disable(or make sure does not disaplay) a save button in the same
page when this checkbox's attribute is readonly. I have no idea how to do
this.
View Replies
View Related
I am trying to use the following code to make the save button invisible in
the asp form when the checkbox is either on or the session variable has a
particular value.
THE CODE IS AS FOLLOWS:
<%If ( cbool(l_IsChecked) = "FALSE" ) or (session("sess_FiscalFirst") <>
"Y") then%>
<input type="submit" value="Save" name="btn_Save">
<%End If%>
In the above, my logic is if the value of the checkbox is not true or the
value of the session variable is not Y then only show the SAVE button.
However this is not happening. I find that when the second part or the first
part is not there, the logic goes fine i.e. the logic holds with only the
first condition or the second condition itself but not with the or syntax.
Not sure why.
View Replies
View Related
All i want to do is have a form with 17 checkboxes that writes a value to the database. At this point I don't even care, true/false this/that 1/0 whatever! Setting the Access Database fields to yes/no was not working even 1 bit in the least. They would all be set to off no matter what.
Changed it to text and inserting "That" for off and "This" for on, it comes up, but does it all funky, not in order, all "That"'s at the top, all "This"'s at the bottom, and not even in their respective fields. Code:
View Replies
View Related
Pretty simple task ... page1.asp calls page2.asp and I want page2.asp to show the HTTP_REFERER (which I expect to be page1.asp).
It's blank when I try from my local machine and from other machines. HTTP_HOST, URL and various other server variables work fine so there is a work around, but I'd like to know why HTTP_REFERER doesn't seem to work
View Replies
View Related