+ Reply to Thread
Results 1 to 2 of 2

Thread: Window LiveMail and JavaScript

  1. #1
    hrvat's Avatar
    hrvat is offline x10Hosting Member hrvat is an unknown quantity at this point
    Join Date
    Dec 2010
    Location
    Zagreb
    Posts
    66

    Post Window LiveMail and JavaScript

    Hello !

    I finishing one online mail solution which get data from the form and send the data through
    user default mail client.
    But, when I use Win LiveMail application I get unexpected values.
    My peace of code is :

    function fnSetAction(Prva){
    if(Prva.body.value!="" ){
    var sAction="mailto:marijan.ivicevic.bakulic@zg.t-com.hr";
    Prva.action=sAction;
    Prva.body.value="\n"+Prva.elements["adress"].value+"\n"+
    Prva.elements["ta"].value+"\n";
    }}


    When I send this through Win LiveMail I get :
    Window LiveMail and JavaScript-part.jpg
    Why Windows LiveMail client transform empty spaces to + ?
    regards


  2. #2
    hrvat's Avatar
    hrvat is offline x10Hosting Member hrvat is an unknown quantity at this point
    Join Date
    Dec 2010
    Location
    Zagreb
    Posts
    66

    Arrow Re: Window LiveMail and JavaScript

    Quote Originally Posted by marijan.ivicevic.bakulic17 View Post
    Hello !

    I finishing one online mail solution which get data from the form and send the data through
    user default mail client.
    But, when I use Win LiveMail application I get unexpected values.
    My peace of code is :

    function fnSetAction(Prva){
    if(Prva.body.value!="" ){
    var sAction="mailto:marijan.ivicevic.bakulic@zg.t-com.hr";
    Prva.action=sAction;
    Prva.body.value="\n"+Prva.elements["adress"].value+"\n"+
    Prva.elements["ta"].value+"\n";
    }}


    When I send this through Win LiveMail I get :
    Attachment 6151
    Why Windows LiveMail client transform empty spaces to + ?
    regards

    Sorry , this is wright peace of code,but with same interesting problem.

    function fnSetAction(Prva){
    if(Prva.body.value!="" ){
    var sAction="mailto:marijan.ivicevic.bakulic@zg.t-com.hr";
    Prva.action=sAction;
    Prva.body.value=+"\n"+Prva.elements["adress"].value+"\n"+
    Prva.elements["ta"].value.replace(/^\s+|\s+$/g,'')+"\n";

    }
    }

+ Reply to Thread

Similar Threads

  1. javascript: detect window resize
    By slacker3 in forum Programming Help
    Replies: 4
    Last Post: 01-24-2010, 02:40 PM
  2. Javascript window.open specs not working
    By krahny in forum Programming Help
    Replies: 2
    Last Post: 12-29-2009, 06:39 PM
  3. Javascript New Window Settings
    By secretply in forum Programming Help
    Replies: 1
    Last Post: 05-17-2009, 11:09 AM
  4. Javascript - Targeting a window by name from a function?
    By onyxmoron in forum Programming Help
    Replies: 5
    Last Post: 01-12-2009, 05:56 AM
  5. javascript help - window width
    By kbjradmin in forum Programming Help
    Replies: 7
    Last Post: 10-30-2008, 06:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers