Sending Web Pages Containing Javascript Using MS Outlook Express
Jul 20, 2005
Has anyone tried sending web pages containing javascript to another user
also using Outlook Express?
Mine don't work on the other end - although I'm not sure if this is because
they don't have Javascript enabled in MS Explorer 6. I save the entire HTML file + script into my Stationery folder. Then I select Message/New Message Using [select stationery file]. Should it work? Say I sent this by email:
<html>
<head>
<script>
alert("Hi there!");
</script>
</head>
<body>
<p>Can you see the alert box? Let me know.</p>
</body>
i want to use some domain name lets say something like gmail or hotmail ,i Have created aweb page that contain the fields username ,password and display name with this fields in javascript and activex i want to create an account in outlook express .
if some body can help how would i access to outlook express and create an account with javascript or have link that can help or code to use ,i would be very grateful to him/her.
I am facing one problem when i am trying to open the outlook express through javascript.Here i am able to open the outlook express with all the data, but when i press enter on any line of the body if the message, it moves 2 lines.make it to single spacing. The code i have used is given below.
i want to add the link address when clicked on the link in web page to the outlook express address book when the outlook window populates. i tried to put
<a href="mailto:enquiry@mydomain.com" > click here </a>
but it only add address to the To section of outlook window, i want it should store the address in the address book.. of outlook express..
I have this snippet of code which sends alright the ID to a page called SendIdToDatabase.php . I need to send that also, and simultaenously to another page called SubmitForm.php but I am not sure where to insert it in this code
<script type = "text/javascript"
[Code].....
and then underneath the other one something like
function YetAnotherFunction(str) { $("submitForm.php").html(str); }
i have made an application in php so that people can make, on the fly, a form. when they submit the form there is a javascript formvalidation.
because we do not know how many fields there are in the form (it is made on the fly) i collect all the form fieldnames in an php array and sent it to the javascript function: Code:
I'm would like my app to send a preformatted email(with subject and body) everytime a user pushed a button, like : onclick " mailto:this@that.com" , without the user seeing anything, i.e. not being able to edit the message.
Using php, this is very simple; mail("this@example.com", "Subject", "Line 1 Line 2 Line 3");
is there a way to do this the same, easy way using javascript?
I am using a javascript to format an email, the problem is that when the user clicks the submit button they are presented with the email and they have to click send in the email. Is there anyway to do this without the email being shown to the user?
I am able to do it using a simple mailto: but this prevents me from formatting the body of the email and other functions I need.. Code:
I have interrupted a login process (going to another interim page) to access the database and retrieve the zip code of the customer (don't ask :-). so they can agree or disagree (disagree is a javascript:back)
there are 3 $_post variables which i need to send on from within a confirm() to the login script.
Can this be done? They have to be $_post, rather than $_get
Is there a php alternative to the confirm? ( if so, i'm in the wrong place!!)
I want to redirect all pages from one website to another. They will be permanent redirects, but I am looking for a way to make it look cool.
Is it possible (It does not HAVE to be a 301 redirect) that when someone goes to a page on the old website, they automatically go to the new website with a message explaining the transfer, and everything around the message goes grayscale until the user clicks ok...?
I would like to check a web page for updates that is written in JavaScript and requires me to log on with a username and password, then email me a snapshot of the web page or a copy of the web page.
Is there any software out there will let me do this?
Does anyone know of a handy way to disable a user from downloading javascript when they save a page?
Here is my problem. I have javascript that disables right clicks on a page. However the user could just "save" the page to there desktop and remove the function that disables right clicks.
Anyone know of a good work around? I've heard of other complex ways, but I was looking for a simple solution.
I'm not sure what this is called, I think it's remote script execution, but I could be wrong, so bear with me.
I have a call that I make for an adserver:
<script src="http://www...."></script>
That populates the page at that point with some text. When it works, it works great, the text comes back, and everything is good. However, when the remote server does not return right away, or maybe the connection is down, my page hangs on it.
So my question is, is there a way to structure the call on my end so that my page continues loading even if this call doesn't return?
I check data validity in html form by JS. Something like
for (i=0; i<document.form[0].elements.length; i++) { chechkValidity(i); }
Unfortunately, the form[0] has about two thousands elements (it is statistical questioning form for companies) and execution of this one cycle takes about twenty seconds.
The problem is, that during these 20 seconds the browser "freezes": The button activating the cycle disappears and the mouse pointer doesn't change into "watch" (sandglass) showing that something is being carried out.
Although after the 20s everything is ok, it is not the nicest behavior of the form. I don't assume somebody is so impatient to restart during those 20 seconds. I just want to minimize the users' swearing on my address and tha's why my question:
How to show the progress of that cursed for-cycle?
We are downloading a few thousand rows of data for users to choose from and need to speed up the operation. The data is related in four levels. The current design allows the user to select the first level from about 20 choices and then the next level's choices are retrieved from the server. This is taking about 4 seconds. We are required to make it faster.
We need to be able to download all the data once and save it for use any time this particular page is visited. The app is a support app and the page will be used throughout the day. The obvious idea is to cache it in a Java applet but we are not allowed to use applets. The other idea is to embed it in JavaScript arrays but we have tried this and the performance penalty is about the same and will be incurred on other lookups on the page becuase the page reloads for these other lookups (we are using WebLogic netui).
What we need is a cookie that is not submitted unless the page explicitly sends it; that is, some data needs to be downloaded once per session and remain in the browser memory/on the disk throughout the session. It would be nice if we could write to a temp file or access a heap - can we? Any ideas?
I want to invoke a Client side javascript function and pass the value of the ID. How can I accomplish this such when a user clicks "Open" he goes to a new window with the same ID.
I tried this but it does not work: On Server side: sSql = "SELECT DISTINCT " + "'Action' = '<center><a href= 'javascript: NewWindow('+cast(ChangeRequest.ChangeRequest_ID as nvarchar)+ CHAR(34)+)'>Open</a></center>',"
On Client side: function NewWindow(myID) { window.open("ChangeRequest.aspx?ID="+myID,"WindowName","width=500,height=600"); } </script>
I'm trying to get my PHP scripts to email me an email which includes a button to enable a feature, which I'd like to be done via AJAX so the user can open the resulting page within their Outlook email rather than having to open a web browser.
My script is below, however I'm slightly confused, because when run in Outlook or outside the webserver directory it won't work, but run inside, it will. Can someone explain what I'm doing wrong? I may have seen somewhere about accessing XML on another server - is it that AJAX can't access files from a different URL? Code:
Is there any sort of javascript code that can be linked with a button, for example, that when clicked would start up an Outlook 2003 session (if the user has this installed)
Otherwise return a page or message alerting the user they do not have Outlook Installed
I am making a local intranet you see, and i have configured an internal email system, so on the Intranet site i want to add a link to go directly to Microsoft Oulook, which should be installed on all the machines.