Wednesday, 30 December 2015
FILE SAVE AS WITH JAVA SCRIPT METHOD CODE


-----------------------------------------------------------------------------------------------------------------
COPY AND PASTE BELOW CODE IN POST HTML SECTION
READ MORE:
https://www.willpeavy.com/minifier/
-----------------------------------------------------------------------------------------------------------------
<!DOCTYPE html>
<!-- http://stackoverflow.com/questions/3665115/create-a-file-in-memory-for-user-to-download-not-through-server -->
<html>
<title>Save As Text Or Html In Java </title>
<head>
<style>
form * {
width:100%;
border: 2px Red solid;
}
#TextFile{
display: block;
background:repeating-linear-gradient(45deg, #606DBC, #606DBC 10px, #465298 10px, #465298 20px);
color:Red;
font-family:'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
font-size:18px;
padding:3px 0;
border: 2px Blue solid;
margin:0px;
width:500px;
}
#DownloadButton {
background:green;
border:4px solid yellow;
border-radius:4px;
outline:blue solid 5px;
margin:8px;
clear:both;
color:#FFFFFF;
cursor:pointer;
display:inline-block;
font-family:'Times New Roman', Georgia, serif;
font-size:20px;
width:200px;
text-transform: uppercase;
cursor:pointer;
}
#OutPutFile{
display: block;
height:100%;
margin:4px;
width:500px;
height:500px;
border:5px double yellow;
outline:blue solid 5px;
}
</style>
<script type='text/javascript'>
function download(filename, text) {
var element = document.createElement('a');
element.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(text));
element.setAttribute('download', filename);
element.style.display = 'none';
document.body.appendChild(element);
element.click();
document.body.removeChild(element);
}
</script>
</head>
<body>
<form onsubmit="download(this['name'].value,this['text'].value)">
<input type="text" name="name"id="TextFile"value="FbGadgets.txt">
<input type="submit"value="Download"id="DownloadButton">
<textarea name="text"id="OutPutFile">
1)ENTER YOUR TEXT BY PASTE OR RIGTH HERE AND CLICK THE "DOWNLOAD BUTTON ABOVE.
2)YOU CAN SAVE YOUR TEXT AS TEXT,CSS,HTML
3)YOU NEED TO REMOVE FbGadgets.txt AND TYPE INPUT BOX "FbGadgets.css", "FbGadgets.html"
</textarea>
</form>
</body>
</html>
Related movie you might like to see :

CSS SYNTAX HIGHLIGHT CHANGE IN NOT...

PRINT STAR PATTERN IN JAVA SCRIPT

TEXT COMPARE OR DUPLI TEXT FINDER

MOUSE OVER MOUSE OUT IN JAVA SCRIPT

BLOCK JAVA SCRIPT BY GOOGLE CHROME

MOUSE COORDINATES IN JAVA SCRIPT

RELATED POST WIDGET LIST WITHOUT TH...

WHITE SPACE REMOVER CODE

White Space Remover

COMMENTS REMOVER CODE

COMMENTS REMOVER

FILE SAVE AS WITH JAVA SCRIPT METH...

HTML CSS JAVA COMPRESSOR CODE

HTML CSS JAVA COMPRESSOR

ONLINE CSS UNMINIFIER CODE

ONLINE CSS UNMINIFIER

CSSO (CSS Optimizer)

SCRIPT TUTORIALS CSSO CSS COMPOSER ...

BUTTON PADDING CHANGE HEIGHT WIDTH

SHOPIFY FANCY BOX
?
+
X
Recommended for you
Loading..
Related Post for FILE SAVE AS WITH JAVA SCRIPT METHOD CODE
LONG DIVISION CALCULATOR CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION ---------------…
DIVIDING FRACTIONS CALCULATOR CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION ---------------…
PERCENTAGE CHANGE BAR CHART CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, A…
MULTIPLYING FRACTIONS CALCULATOR CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION --------------…
PYTHAGOREAN THEOREM CALCULATOR CODE ---------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION READ MORE: http:…
EXPONENT CALCULATOR CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION --------------…
PERCENT CALCULATOR PIE CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION ---------------…
DIVIDING FRACTIONS CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana,…
PRIME NUMBER CHECKER .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, A…
LCM CALCULATOR CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION -----------…
SCIENTIFIC NOTATION CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana,…
COMPARE FRACTIONS CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana,…
FIND AND REPLACE TEXT CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION -------------…
MATH FRACTION REDUCER CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, A…
PERCENTAGE CHANGE BAR CHART CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION --------------…
PYTHAGOREAN THEOREM CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, A…
ADDING SUBTRACTING MIXED NUMBERS CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana…
COMPARE FRACTIONS CALCULATOR CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION --------------…
SLOPE CALCULATOR WITH GRAPH CODE ---------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION ---------------…
MEAN MEDIAN MODE RANGE CALCULATOR CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION --------------…
PRIME NUMBER CHECKER CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION --------------…
ADDING SUBTRACTING FRACTION CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, …
MATH FRACTION REDUCER CALCULATOR CODE ---------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION ---------------…
GREATEST COMMON FACTOR CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, …
FACTORING CALCULATOR CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION ---------------…
PRIME NUMBER GENERATOR CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION --------------…
LINEAR EQUATION SOLVER .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, A…
LINEAR EQUATION SOLVER CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION --------------…
PRIME FACTORING CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, …
ADDING SUBTRACTING MIXED NUMBERS CALCULATOR CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION ---------------…
ADDING SUBTRACTING FRACTION CALCULATOR CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION --------------…
PRIME NUMBER GENERATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, …
PRIME FACTORING CALCULATOR CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION --------------…
PERCENT CALCULATOR PIE CHART .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, A…
SLOPE CALCULATOR WITH GRAPH .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, A…
LONG DIVISION CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, …
LCM CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, …
ADDING SUBTRACTING 3 FRACTION CALCULATOR CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION ---------------…
SCIENTIFIC NOTATION CALCULATOR CODE ----------------------------------------------------------------------------------------------------------------- COPY AND PASTE BELOW CODE IN POST HTML SECTION ---------------…
MULTIPLYING FRACTIONS CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, Ar…
FACTORING CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, …
FIND AND REPLACE TEXT /* general */ * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } ::-moz-selection { background: #000; text-shadow: none; color: #ff…
ADDING SUBTRACTING 3 FRACTION CALCULATOR .CalcTable { padding: 4px 6px; border: solid #ddd 1px; border-collapse: collapse } .CalcTitleCell { background-color: transparent; color: #1d487e; font-family: Verdana, A…
Labels:
HTML TUTORIALS,
J,
TEXT TOOLS
Subscribe to:
Post Comments (Atom)
To minify HTML, you can use the following link
ReplyDeleteurl-decode.com/tool/minifyhtml
the landing page also contains dozens of other online web tools for the users as well.