Hey guys I need some javascript function + action scripts.
Can anyone give me the print the window script, I also need the clear the textarea script, the highlight text script, and the browse and open file script. I am looking for something along the lines of:
-------------------------------------------------------------->
function save()
{
str = document.forms[0].text_area.value;
mydoc = document.open();
mydoc.write(str);
mydoc.execCommand("saveAs",true,".txt");
mydoc.close();
}
----------------------------------------------------------------->
Except of course for Clearing the textarea, printing the window, highlighting the text within the textarea, and the browse/open file scripts.
PLease someone help me out I have three javascript books and Ive been scouring the net, and still nothing . . .
I really need some help, (not just mentally this time).
Alright guys thats the mission, now make me proud, jk..lol
be cool guys,
Code One
Can anyone give me the print the window script, I also need the clear the textarea script, the highlight text script, and the browse and open file script. I am looking for something along the lines of:
-------------------------------------------------------------->
function save()
{
str = document.forms[0].text_area.value;
mydoc = document.open();
mydoc.write(str);
mydoc.execCommand("saveAs",true,".txt");
mydoc.close();
}
----------------------------------------------------------------->
Except of course for Clearing the textarea, printing the window, highlighting the text within the textarea, and the browse/open file scripts.
PLease someone help me out I have three javascript books and Ive been scouring the net, and still nothing . . .
I really need some help, (not just mentally this time).
Alright guys thats the mission, now make me proud, jk..lol
be cool guys,
Code One