- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
25 Posted Topics
Well, I am trying to response to all: the communication between PHP and MySQL expects a single query and single (or none) response. While calling the stored procedure, the query and also the response is more complex, what you must announce at opening the connection: [iCODE]$link = mysql_connect("server", 'usr', 'pass', …
Not realy sure, about what are you in doubt. Read more about the object definition and try this example: [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <script> var teams = { "team1": { "QB": "Alexander Hamilton", "RB": "John Jay", "WR": "James Madison" }, team2: { // key need …
Perhaps this question suits better to ASP.net forum :-) By use of HTML and JavaScript it is very easy: [code]<input type="text" .... ><input type="button" value="reset text box" onClick="this.previousSibling.value='default value'">[/code] Jan
Well, you allways need to say first, what you really want. If the goal is the big 2D or even 3D animation, look for some Flash forum. If you really want to play the chess only, then ask the chess community, how do they play the "mail" chess. If you …
[QUOTE=kateloe;867155]visit w3school.com, you will get scripts there in your required scripting language[/QUOTE] The correct link is: [URL="http://w3schools.com/js/js_examples.asp"]w3schools.com[/URL]
Try to connect with the JavaScript developers, but I am not sure, if those, who code the JavaScript in C# or .net, would you openly send their codes :-\ You may be more successful in some open source project like Mozilla. But what is your primary goal?
Here you are the code:[CODE=HTML]<HTML><HEAD> <META http-equiv="content-type" content="text/html; charset=UTF-8"> <TITLE>add/ed/del row</TITLE> <script> function add(oRow) { oRow.parentNode.replaceChild(oRow.cloneNode(true ),oRow.parentNode.insertRow(oRow.rowIndex+1)); var inpN = oRow.nextSibling.getElementsByTagName('input'); var inpR = oRow.getElementsByTagName('input'); for(var i=0;i<inpR.length;i++) { if(inpN[i].disabled)inpN[i].disabled=false; if(inpR[i].type=='text')inpR[i].disabled=true; if(inpR[i].value=='add')inpR[i].value='ed'; }; } function ed(oRow) { var inpR = oRow.getElementsByTagName('input'); for(var i=0;i<inpR.length;i++) { inpR[i].disabled=false; } } </script> </HEAD> <BODY><form method="post" …
Please take in account that you can simply submit one form at once. The simple way is to gather all those text inputs into one form and the submit sends all the requested data.
Sorry, but your scripts do exactly what you wrote. There is no [B]submit()[/B] command nor [B]SUBMIT[/B] button, hence no reason to do the <FORM [B]action[/B]="...."> Try to write less decorative but more functional test page with simple form and either submit() methde either SUBMIT button. :-)
Try the difference: [CODE]<INPUT type="text"><br> <INPUT type="password"><br> <INPUT type="hidden"><br> [/CODE]
Uncomment whatever you want, try, think. :-) [CODE]<script> var arrURL = new Array('http://server/page0.jsp' ,'http://server/page1.jsp' ,'http://server/page2.jsp' ,'http://server/page3.jsp'); function doCustomRedirect(frm) { /* if (frm.actionChoice.value == "0") frm.action = 'http://server/page0.jsp'; if (frm.actionChoice.value == "1") frm.action = 'http://server/page1.jsp'; if (frm.actionChoice.value == "2") frm.action = 'http://server/page2.jsp'; if (frm.actionChoice.value == "3") frm.action = 'http://server/page3.jsp'; //*/ /* …
1) It is much more simple not allow to write the wrong number than to validate it (make the +256 fixed) 2) the very clear introduction to javasript RegExp is for example [URL="http://www.javascriptkit.com/javatutors/redev.shtml"]here[/URL] 3) be so kind and write a piece of HTML page to show what and where will …
Add [B]onSubmit[/B] event, and write a JavaScript [B]function[/B] to evaluate the submitted form before sending. Or use [CODE]<input type="button" value="Send!" onClick="evaluate(this)">[/CODE] instead the submit button and the necessary JavaScript [CODE]<script> function evaluate(oMyForm) { ... if(oMyForm.inputName.value==''){alert('e-mail cannot be sent ...')} else {oMyForm.submit()} ..... } </script>[/CODE] something like this. I suppose the …
Do not waste the time. The [B]with[/B] parametr included in the <SELECT> tag controls the with of the select box itself. If you specify any other with in the <OPTION>s, and the ful names will be available on the rollet Jan
What about simply:[CODE]<tr ... ... onMouseOver="this.style.backgroundColor = 'pink';" onMouseOut="this.style.backgroundColor = 'white';">[/CODE]This is not the case for use the machinegun :-)
Sorry, I cannot be sure without see the <FORM> definition, but suppose, that the mistake is hidden here: the DOM object myForm subobjects must be called: myForm.childNodes[i] Nice day (or night) :-)
You need to learn a lot about PHP, HTML, and JavaScript, too. The main thing is that HTML can sent data to server (eg. to a PHP script) only from one form by collecting all INPUTs (and SELECTs) values/names pairs, compose them in a POST or GET format and sent …
I found a principal differece between the behavior of staticaly (HTML) coded object – the table row, and the same object created dynamicaly (DOM) with createElement() addChild() methodes. The folowing souce creates one HTML row and one DOM row and gives buttons to duplicate each row. [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD …
Give us to see a piece of code, without it it's hard to say where can be the bug. But: the value got from the select is by default supposed to be a string. In JavaScript the plus sign does not differ between the numeric addition and string concatenation hence …
Please, read detailed description of the methode open() of the object **window**, eg. [here](http://www.w3schools.com/htmldom/met_win_open.asp). I suppose that what you request is something like: window.open("./page.html", "the_name", "left=350, top=25, width=800, height=500, menubar=no, toolbar=no, location=no, status=no, resizable=no") In some discusion it is shown that you can change the attributes of curent window window.locationbar.visible=false; …
mani8php, for that purpose is the best way to use the cookies. It is possible to configure the cookie so that it is cleared while browser is closed (or better say reopened). This is also good for the case the browser fails down or is killed by (super-)user. The cookies …
Sorry, what about: [CODE]<input type=text onChange="alert((this.value % 2)==0 ? 'even' : 'odd' );">[/CODE] :-/
Hi gagan. I am not sure, I can understand your request. Do you mean that the <select> (comBox) chooses how many rows does have the form with empty <input> text fields? Or do you want to control with the <select> (comBox) how many rows of an existing table will be …
Hello everybody, as I spent lot of time with converting some oldstyle database tables to a new template, I felt a need of a tool to handle with long list of columns, to find the relevant ones, to give them unique name etc... With help of Internet knowledge I compiled …
The End.
sysel