473,396 Members | 1,797 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

HTML form using JavaScript - save in CSV format

I want to save the form using this makeFile() function.I want it to save the whole form in csv format..How can i make it read the whole file...TQ...n Am i doing it correctly?Please help me solve this problem...


Expand|Select|Wrap|Line Numbers
  1. function makeFile(){
  2. var fso = newActiveXObject("Scripting.FileSystemObject");
  3. var fileLoc = "E:\sample.csv";
  4. var file = fso.CreateTextFile(fileLoc, true);
  5. file.writeline();
  6. file.Close();
  7. alert('File created successfully at location: ' + fileLoc);
  8.  
  9.  
  10. <form name="form1" action="http://bytes.com/" method="get">
  11. TESTER <input type="text"/>     DATE <input type="text" />     EMP NO <input type="text" />    6S DONE <input type="text" /> <br /> <br />
  12.  
  13. WW <input type="text" size="8"maxlength="8"/>     NAME <input type="text" />     SHIFT <input type="text" /> <br /> <br /> <br />
  14.  
  15. PASSOVER (Please verify Summit Receipe & Storm before start shift)
  16.  
  17. <br /> <br /> <br />
  18.  
  19.  
  20. Summit Receipe OK ? 
  21. <select name=""> <option value="" style="display:none;"></option> <option value="Yes">Yes</option> <option value="No">No</option> </select> <br /> <br />
  22.  
  23. Motif/ Storm OK ? 
  24. <select name=""> <option value="" style="display:none;"></option> <option value="Yes">Yes</option> <option value="No">No</option> </select> <br /> <br /> <br /> <p> <input type="button" value="Add" onclick="addRowToTable();" /> <input type="button" value="Delete" onclick="removeRowFromTable();" /> </p> <p> </p> <table border="1" id="tblSample"> <tr> <TH>Num</TH> <TH>Lot Number</TH> <TH>Location</TH> <TH>Total In</TH> <TH>1 * Test</TH> <Th>2 * Test</TH> <TH>3 * Test</TH> <TH>Total Out</TH> <TH>Lot Status</TH> <TH>Remark</TH> </tr> </table> <br /> <br /> <br /> <input type="button" value="Add" onclick="addRowToTable2();" /> <input type="button" value="Delete" onclick="removeRowFromTable2();" /> </p> <p> </p> <table border="1" id="tbl"> <tr> <TH>Num</TH> <TH>Entry</TH> <TH>Down</TH> <TH>Up</TH> <TH>Failure Mode/ Action/ Remark</TH> <Th>D/T</TH> <TH>Attended By</TH> </tr> </table> <br /> <br /> <input type="submit" value="Submit" onclick="makeFile();"/> </form> </div> </body> </html>
Nov 30 '12 #1

✓ answered by Rabbit

You can use the document.getElementById() method to get the div element. You can use the innerHTML property of the element to get what's inside.

21 11160
Dormilich
8,658 Expert Mod 8TB
in line #2 you need a space between new and ActiveXObject.
Nov 30 '12 #2
Rabbit
12,516 Expert Mod 8TB
This is going on a website correct? You can't do this. Javascript does not and should not have access to the client system because of the security risk it poses.
Nov 30 '12 #3
no its not goin to be a website...It will be used internally,so security issue wont be a problem...How can i make it read all the input to the form and when i click the save button,it automatically save to a share drive in csv format...can u guys help me with this?
Dec 6 '12 #4
Rabbit
12,516 Expert Mod 8TB
Did you put in Dormilich's fix above? Also, I noticed that you didn't actually give it anything to write when you called the writeLine method. It's just going to write a blank line unless you tell it what you want to write.
Dec 6 '12 #5
How can i make it display the whole content inisde the div tag that i have used in form...?
Dec 7 '12 #6
Rabbit
12,516 Expert Mod 8TB
You can use the document.getElementById() method to get the div element. You can use the innerHTML property of the element to get what's inside.
Dec 7 '12 #7
Thanks Rabbit...i've already tried and its not working...i think something wrong with my coding...can u help me with the code..i'l just post it here...

Expand|Select|Wrap|Line Numbers
  1. function makeFile(){
  2. var fso = newActiveXObject("Scripting.FileSystemObject");
  3. var fileLoc = "E:\sample.csv";
  4. var file = fso.OpenTextFile(fileLoc, true);
  5. file.write(escape(document.getElementById("myOutput").innerHTML));
  6. file.Close();
  7. alert('File created successfully at location: ' + fileLoc);
  8.  
myOutput id the div tag id....can u help me to fix this code..tq..
Dec 10 '12 #8
Sorry for the long post...This is my full code...Can u help me with this...

Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <head>
  3. <title>E-LogBook</title>
  4.  
  5. <center>
  6. <color><font size="35">KM1 FCPGA TEST AREA OUTPUT TRACKING FORMAT</font></color>
  7. </center>
  8. <br/>
  9. <br/>
  10. <br/>
  11.  
  12. <SCRIPT TYPE="text/javascript">
  13.  
  14.  function addRowToTable()
  15. {
  16.   var tbl = document.getElementById('tblSample');
  17.   var lastRow = tbl.rows.length;
  18.   // if there's no header row in the table, then iteration = lastRow + 1
  19.   var iteration = lastRow;
  20.   var row = tbl.insertRow(lastRow);
  21.  
  22.   // left cell
  23.   var cellLeft = row.insertCell(0);
  24.   var textNode = document.createTextNode(iteration);
  25.   cellLeft.appendChild(textNode);
  26.  
  27.   // right cell
  28.   var cellRight = row.insertCell(1);
  29.   var el = document.createElement('input');
  30.   el.type = 'text';
  31.   el.name = 'txtRow' + iteration;
  32.   el.id = 'txtRow' + iteration;
  33.   el.size = 40;
  34.  
  35.   el.onkeypress = keyPressTest;
  36.   cellRight.appendChild(el);
  37.  
  38.   // insert cell
  39.   var cellRight1 = row.insertCell(2);
  40.   var el1 = document.createElement('input');
  41.   el1.type = 'text';
  42.   el1.name = 'txtRow' + iteration;
  43.   el1.id = 'txtRow' + iteration;
  44.   el1.size = 40;
  45.  
  46.   el1.onkeypress = keyPressTest;
  47.   cellRight1.appendChild(el1);
  48.  
  49.    // insert cell
  50.   var cellRight2 = row.insertCell(3);
  51.   var el2 = document.createElement('input');
  52.   el2.type = 'text';
  53.   el2.name = 'txtRow' + iteration;
  54.   el2.id = 'txtRow' + iteration;
  55.   el2.size = 40;
  56.  
  57.   el2.onkeypress = keyPressTest;
  58.   cellRight2.appendChild(el2);
  59.  
  60.    // insert cell
  61.   var cellRight3 = row.insertCell(4);
  62.   var el3 = document.createElement('input');
  63.   el3.type = 'text';
  64.   el3.name = 'txtRow' + iteration;
  65.   el3.id = 'txtRow' + iteration;
  66.   el3.size = 40;
  67.  
  68.   el3.onkeypress = keyPressTest;
  69.   cellRight3.appendChild(el3);
  70.  
  71.   // insert cell
  72.   var cellRight4 = row.insertCell(5);
  73.   var el4 = document.createElement('input');
  74.   el4.type = 'text';
  75.   el4.name = 'txtRow' + iteration;
  76.   el4.id = 'txtRow' + iteration;
  77.   el4.size = 40;
  78.  
  79.   el4.onkeypress = keyPressTest;
  80.   cellRight4.appendChild(el4);
  81.  
  82.   // insert cell
  83.   var cellRight5 = row.insertCell(6);
  84.   var el5 = document.createElement('input');
  85.   el5.type = 'text';
  86.   el5.name = 'txtRow' + iteration;
  87.   el5.id = 'txtRow' + iteration;
  88.   el5.size = 40;
  89.  
  90.   el5.onkeypress = keyPressTest;
  91.   cellRight5.appendChild(el5);
  92.  
  93.   // insert cell
  94.   var cellRight6 = row.insertCell(7);
  95.   var el6 = document.createElement('input');
  96.   el6.type = 'text';
  97.   el6.name = 'txtRow' + iteration;
  98.   el6.id = 'txtRow' + iteration;
  99.   el6.size = 40;
  100.  
  101.   el6.onkeypress = keyPressTest;
  102.   cellRight6.appendChild(el6);
  103.  
  104.   // insert cell
  105.   var cellRight7 = row.insertCell(8);
  106.   var el7 = document.createElement('input');
  107.   el7.type = 'text';
  108.   el7.name = 'txtRow' + iteration;
  109.   el7.id = 'txtRow' + iteration;
  110.   el7.size = 40;
  111.  
  112.   el7.onkeypress = keyPressTest;
  113.   cellRight7.appendChild(el7);
  114.  
  115.   // insert cell
  116.   var cellRight8 = row.insertCell(9);
  117.   var el8 = document.createElement('input');
  118.   el8.type = 'text';
  119.   el8.name = 'txtRow' + iteration;
  120.   el8.id = 'txtRow' + iteration;
  121.   el8.size = 40;
  122.  
  123.   el8.onkeypress = keyPressTest;
  124.   cellRight8.appendChild(el8);
  125.  
  126.  
  127. }
  128. function keyPressTest(e, obj)
  129. {
  130.   var validateChkb = document.getElementById('chkValidateOnKeyPress');
  131.   if (validateChkb.checked) {
  132.     var displayObj = document.getElementById('spanOutput');
  133.     var key;
  134.     if(window.event) {
  135.       key = window.event.keyCode; 
  136.     }
  137.     else if(e.which) {
  138.       key = e.which;
  139.     }
  140.     var objId;
  141.     if (obj != null) {
  142.       objId = obj.id;
  143.     } else {
  144.       objId = this.id;
  145.     }
  146.     displayObj.innerHTML = objId + ' : ' + String.fromCharCode(key);
  147.   }
  148. }
  149. function removeRowFromTable()
  150. {
  151.   var tbl = document.getElementById('tblSample');
  152.   var lastRow = tbl.rows.length;
  153.   if (lastRow > 2) tbl.deleteRow(lastRow - 1);
  154. }
  155. function openInNewWindow(frm)
  156. {
  157.   // open a blank window
  158.   var aWindow = window.open('', 'TableAddRowNewWindow',
  159.    'scrollbars=yes,menubar=yes,resizable=yes,toolbar=no,width=400,height=400');
  160.  
  161.   // set the target to the blank window
  162.   frm.target = 'TableAddRowNewWindow';
  163.  
  164.   // submit
  165.   frm.submit();
  166. }
  167. function validateRow(frm)
  168. {
  169.   var chkb = document.getElementById('chkValidate');
  170.   if (chkb.checked) {
  171.     var tbl = document.getElementById('tblSample');
  172.     var lastRow = tbl.rows.length - 1;
  173.     var i;
  174.     for (i=1; i<=lastRow; i++) {
  175.       var aRow = document.getElementById('txtRow' + i);
  176.       if (aRow.value.length <= 0) {
  177.         alert('Row ' + i + ' is empty');
  178.         return;
  179.       }
  180.     }
  181.   }
  182.   openInNewWindow(frm);
  183. }
  184.  
  185. function addRowToTable2()
  186. {
  187.   var tbl = document.getElementById('tbl');
  188.   var lastRow = tbl.rows.length;
  189.   // if there's no header row in the table, then iteration = lastRow + 1
  190.   var iteration = lastRow;
  191.   var row = tbl.insertRow(lastRow);
  192.  
  193.   // left cell
  194.   var cellLeft = row.insertCell(0);
  195.   var textNode = document.createTextNode(iteration);
  196.   cellLeft.appendChild(textNode);
  197.  
  198.   // right cell
  199.   var cellRight = row.insertCell(1);
  200.   var el = document.createElement('input');
  201.   el.type = 'text';
  202.   el.name = 'txtRow' + iteration;
  203.   el.id = 'txtRow' + iteration;
  204.   el.size = 40;
  205.  
  206.   el.onkeypress = keyPressTest2;
  207.   cellRight.appendChild(el);
  208.  
  209.   // insert cell
  210.   var cellRight1 = row.insertCell(2);
  211.   var el1 = document.createElement('input');
  212.   el1.type = 'text';
  213.   el1.name = 'txtRow' + iteration;
  214.   el1.id = 'txtRow' + iteration;
  215.   el1.size = 40;
  216.  
  217.   el1.onkeypress = keyPressTest2;
  218.   cellRight1.appendChild(el1);
  219.  
  220.    // insert cell
  221.   var cellRight2 = row.insertCell(3);
  222.   var el2 = document.createElement('input');
  223.   el2.type = 'text';
  224.   el2.name = 'txtRow' + iteration;
  225.   el2.id = 'txtRow' + iteration;
  226.   el2.size = 40;
  227.  
  228.   el2.onkeypress = keyPressTest2;
  229.   cellRight2.appendChild(el2);
  230.  
  231.    // insert cell
  232.   var cellRight3 = row.insertCell(4);
  233.   var el3 = document.createElement('input');
  234.   el3.type = 'text';
  235.   el3.name = 'txtRow' + iteration;
  236.   el3.id = 'txtRow' + iteration;
  237.   el3.size = 40;
  238.  
  239.   el3.onkeypress = keyPressTest2;
  240.   cellRight3.appendChild(el3);
  241.  
  242.   // insert cell
  243.   var cellRight4 = row.insertCell(5);
  244.   var el4 = document.createElement('input');
  245.   el4.type = 'text';
  246.   el4.name = 'txtRow' + iteration;
  247.   el4.id = 'txtRow' + iteration;
  248.   el4.size = 40;
  249.  
  250.   el4.onkeypress = keyPressTest2;
  251.   cellRight4.appendChild(el4);
  252.  
  253.   // insert cell
  254.   var cellRight5 = row.insertCell(6);
  255.   var el5 = document.createElement('input');
  256.   el5.type = 'text';
  257.   el5.name = 'txtRow' + iteration;
  258.   el5.id = 'txtRow' + iteration;
  259.   el5.size = 40;
  260.  
  261.   el5.onkeypress = keyPressTest2;
  262.   cellRight5.appendChild(el5);
  263.  
  264.  
  265.  
  266. }
  267. function keyPressTest2(e, obj)
  268. {
  269.   var validateChkb = document.getElementById('chkValidateOnKeyPress');
  270.   if (validateChkb.checked) {
  271.     var displayObj = document.getElementById('spanOutput');
  272.     var key;
  273.     if(window.event) {
  274.       key = window.event.keyCode; 
  275.     }
  276.     else if(e.which) {
  277.       key = e.which;
  278.     }
  279.     var objId;
  280.     if (obj != null) {
  281.       objId = obj.id;
  282.     } else {
  283.       objId = this.id;
  284.     }
  285.     displayObj.innerHTML = objId + ' : ' + String.fromCharCode(key);
  286.   }
  287. }
  288. function removeRowFromTable2()
  289. {
  290.   var tbl = document.getElementById('tbl');
  291.   var lastRow = tbl.rows.length;
  292.   if (lastRow > 2) tbl.deleteRow(lastRow - 1);
  293. }
  294. function openInNewWindow(frm)
  295. {
  296.   // open a blank window
  297.   var aWindow = window.open('', 'TableAddRowNewWindow',
  298.    'scrollbars=yes,menubar=yes,resizable=yes,toolbar=no,width=400,height=400');
  299.  
  300.   // set the target to the blank window
  301.   frm.target = 'TableAddRowNewWindow';
  302.  
  303.   // submit
  304.   frm.submit();
  305. }
  306. function validateRow2(frm)
  307. {
  308.   var chkb = document.getElementById('chkValidate');
  309.   if (chkb.checked) {
  310.     var tbl = document.getElementById('tbl');
  311.     var lastRow = tbl.rows.length - 1;
  312.     var i;
  313.     for (i=1; i<=lastRow; i++) {
  314.       var aRow = document.getElementById('txtRow' + i);
  315.       if (aRow.value.length <= 0) {
  316.         alert('Row ' + i + ' is empty');
  317.         return;
  318.       }
  319.     }
  320.   }
  321.   openInNewWindow(frm);
  322. }
  323. /*function SaveDocument(){
  324.  
  325.           var fso = new ActiveXObject("Scripting.FileSystemObject");
  326.           var f = fso.CreateTextFile("C:\sample.csv", true);
  327.           f.write(myOutput.innerHTML);
  328.           f.Close();
  329.           sPersistValue=myOutput.innerHTML;}
  330.       catch(e){
  331.           var sCancel="true";
  332.           return sCancel;}
  333.     myOutput.focus();    
  334.   }    */
  335.  
  336.  
  337. /*function makeFile(){
  338. var fso = newActiveXObject("Scripting.FileSystemObject");
  339. var fileLoc = "E:\sample.csv";
  340. var file = fso.OpenTextFile(fileLoc, true);
  341. file.write(escape(document.getElementById("myOutput").innerHTML));
  342. file.Close();
  343. alert('File created successfully at location: ' + fileLoc);
  344. } */
  345. function loadLinkButton(){
  346.   var fso = newActiveXObject("Scripting.FileSystemObject");
  347.   var fileLoc = "C:\sample.csv";
  348.   var file = fso.OpenTextFile(fileLoc, true);
  349.   var file = document.getElementById("myOutput").innerHTML;
  350.   // I used this online encoder to create the data url.
  351.   // axx.href = 'data:text/csv;base64,MTsyOzQ=';  // This was my first test, not having the encoder. 
  352.  
  353. }
  354.  
  355.  
  356. </SCRIPT>
  357. </head>
  358. <body>
  359.  
  360.  
  361. <form='form1' action="#" method="post">
  362. <div id ="myOutput" style="border:1px solid black">
  363.  
  364. TESTER  <input type="text"/>                         DATE  <input type="text" />        EMP NO  <input type="text" />    6S DONE  <input type="text" />
  365.  
  366. <br />
  367. <br />
  368.  
  369. WW  <input type="text" size="8"maxlength="8"/>        NAME  <input type="text" />        SHIFT  <input type="text" />
  370.  
  371. <br />
  372. <br />
  373. <br />
  374.  
  375. PASSOVER (Please verify Summit Receipe & Storm before start shift)
  376.  
  377. <br />
  378. <br />
  379. <br />
  380.  
  381.  
  382.  Summit Receipe OK ?                      
  383. <select name="">                         
  384.    <option value="" style="display:none;"></option>        
  385.   <option value="Yes">Yes</option>                
  386.   <option value="No">No</option>                
  387.  </select>                        
  388.  
  389. <br />
  390. <br />
  391.  
  392.  Motif/ Storm OK ?                       
  393.  <select name="">                         
  394.      <option value="" style="display:none;"></option>        
  395.     <option value="Yes">Yes</option>                
  396.     <option value="No">No</option>                
  397.    </select>                        
  398.  
  399. <br />
  400. <br />
  401. <br />
  402.  
  403. <p>
  404. <input type="button" value="Add" onclick="addRowToTable();" />
  405. <input type="button" value="Delete" onclick="removeRowFromTable();" />
  406. </p>
  407. <p>
  408. </p>
  409.  
  410. <table border="1" id="tblSample">
  411.   <tr>
  412. <TH>Num</TH>
  413. <TH>Lot Number</TH>
  414. <TH>Location</TH>
  415. <TH>Total In</TH>
  416. <TH>1 * Test</TH>
  417. <Th>2 * Test</TH>
  418. <TH>3 * Test</TH>
  419. <TH>Total Out</TH>
  420. <TH>Lot Status</TH>
  421. <TH>Remark</TH>
  422.  
  423.   </tr>
  424. </table>
  425.  
  426. <br />
  427. <br />
  428. <br />
  429. <input type="button" value="Add" onclick="addRowToTable2();" />
  430. <input type="button" value="Delete" onclick="removeRowFromTable2();" />
  431. </p>
  432. <p>
  433. </p>
  434. <table border="1" id="tbl">
  435.   <tr>
  436. <TH>Num</TH>
  437. <TH>Entry</TH>
  438. <TH>Down</TH>
  439. <TH>Up</TH>
  440. <TH>Failure Mode/ Action/ Remark</TH>
  441. <Th>D/T</TH>
  442. <TH>Attended By</TH>
  443.  
  444.   </tr>
  445. </table>
  446. <br />
  447. <br />
  448.  
  449. <button id="linkButton" onclick="loadLinkButton();">Save</button>
  450. </div>
  451.  
  452.  
  453. </form>
  454.  
  455. </body>
  456. </html>
  457.  
Dec 10 '12 #9
Rabbit
12,516 Expert Mod 8TB
Just saying it works and posting hundreds of lines of code doesn't tell me anything. You have to tell me what doesn't work. Are you getting errors? What are the error codes and messages? What line caused the error? Is it not doing what you expect? What is it doing instead? What is the correct output?
Dec 10 '12 #10
It works fine but...if u take a look at the function makeFile()...i used activeXobject as u stated in ur previous answer but still i am facing problem when i click the save button..it states there error on the page...i hope to save this file in local drive...Sry for posting the whole code...try copy paste and run it...u can see my problem clearly...
Dec 11 '12 #11
Rabbit
12,516 Expert Mod 8TB
You said it works fine. But then right away you say it doesn't work.

You say there's an error but you don't tell us what the error is.

You're not giving me a whole lot to work with.

Also, I'm not going to run code without looking through it first. And I'm not about to read hundreds of lines of code when you can easily tell me what the error message is and what line causes the error.
Dec 11 '12 #12
The thing is,i want to save this whole input form in local drive....n i dun knw how to do that...I dont knw how to use activeXobject method...I want to save this file in csv format in the particular given path...When i open back i want to view al; the inputs that have been key in...so,can u help me with that...
Dec 11 '12 #13
Rabbit
12,516 Expert Mod 8TB
You've already said that, you keep repeating stuff I already know. And you keep ignoring my questions.

Please reread and answer the questions in posts #10 and #12.
Dec 11 '12 #14
ALright...It giving errors when i click on the save button,it does not save in the path that i have specified...i can key-in inputs..no prob with that...But it is not doing as i expected...it just states error on the page...The save function is not working properly...The correct output should be,when i click on the save button after i key-in all the details inside the form,it should save to the specified path in the local drive...Did i answered all your questions?
Dec 12 '12 #15
Rabbit
12,516 Expert Mod 8TB
No, you didn't answer all my questions.

What is the error code and message? I asked this question twice.

What line of code caused the error? I also asked this question twice.
Dec 12 '12 #16
m using notepad...so i dun see any specific error msg than error on page...The line that caused the error msg is the function loadLinkButton() on the line 345...
Dec 12 '12 #17
Dormilich
8,658 Expert Mod 8TB
The line that caused the error msg is the function loadLinkButton() on the line 345...
see post #2
Dec 12 '12 #18
Rabbit
12,516 Expert Mod 8TB
If you're not seeing any error messages, you need to use some debugging tools.
Dec 12 '12 #19
Dormilich..I have tried with a space between new and ActiveXObject..Still the same...it does not save the file into given path
Dec 13 '12 #20
Dormilich
8,658 Expert Mod 8TB
well, without a space I can guarantee that it never will.
Dec 13 '12 #21
jmrker
17
Strickly a guess, but something to try.
In your 'makeFile' function try changing this
Expand|Select|Wrap|Line Numbers
  1. var fileLoc = "E:\\sample.csv";
  2.  
Assumes sample.csv is in the root directory of the 'E' device.
Using the '\' character as is just forces the 's' to be read just as a 's' only.
Adding the escape character, '\', forces the second '\' character to be read as true character instead of an 'escaped' character.
Dec 26 '12 #22

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Frederik S | last post by:
Hello, I'm making a nice little login box in Javascript but having problems Posting the value inside a textfield. In a nutshell: I have a function: function getPostData (value)
0
by: Dhanasankar S via DotNetMonster.com | last post by:
Hai friends, Please give me an idea to read the content in the body part of a HTML file from another HTML file using Javascript. -- Message posted via http://www.dotnetmonster.com
6
by: SRafiq | last post by:
Hi I need help with a topic I have an html page and in it i have a textarea which can have a multiple of info, is there any possible way that i can out put a specific area of the textarea using...
3
gauravgmbhr
by: gauravgmbhr | last post by:
hello friends can some one tell me plz can I create a movable as well as resizable html component using javascript plz help me or email me some link that can be helpfull for me
67
by: koolaid82 | last post by:
I know this question was already covered, but it was covered way beyond my ability. They just posted the code, but i am not realy familiar with anything except html and action script. Can you guys...
1
by: macintoshhondo | last post by:
Hi ! i am a newbie and dont know javascript much. what i really need is a simple javascript code that can insert number in the value section of the different forms from the one form. FORM 1:...
6
by: bizt | last post by:
Hi, First let me point out I have googled this and also must have done this operation a dozen times (altho a few years ago) but for some reason I cant get a form to submit using javascript .....
0
by: brianrpsgt1 | last post by:
I am attempting to insert data from a HTML form using a .psp script. I can not find how to link the data that is inserted into the form to the variables in the .psp script to then insert into the...
4
by: phpuser123 | last post by:
I want to submit my form using javascript but the prob I am facing here is when using this method,the form is being submitted irrespective of the return value of onsubmit .My script is ..... ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.