Forum: PHP Jul 16th, 2009 |
| Replies: 5 Views: 486 If in doubt use PostgreSQL |
Forum: JavaScript / DHTML / AJAX Jul 15th, 2009 |
| Replies: 4 Views: 2,187 The correct link is:
w3schools.com (http://w3schools.com/js/js_examples.asp) |
Forum: JavaScript / DHTML / AJAX Jul 13th, 2009 |
| Replies: 1 Views: 293 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... |
Forum: PHP Jul 13th, 2009 |
| Replies: 8 Views: 2,070 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... |
Forum: JavaScript / DHTML / AJAX Jul 13th, 2009 |
| Replies: 5 Views: 467 |
Forum: JavaScript / DHTML / AJAX Jul 13th, 2009 |
| Replies: 5 Views: 467 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... |
Forum: JavaScript / DHTML / AJAX Jul 10th, 2009 |
| Replies: 37 Views: 3,906 oRow.parentNode.replaceChild(oRow.cloneNode(true),oRow.parentNode.insertRow(oRow.rowIndex+1));
// is in one step the same as:
var oInsertedRow = oRow.parentNode.insertRow(oRow.rowIndex+1); //... |
Forum: JavaScript / DHTML / AJAX Jul 10th, 2009 |
| Replies: 5 Views: 1,063 Well, close each separated question in its own <div id="Q1"> Q2 etc. You can reset questions separately and submit together :-) |
Forum: JavaScript / DHTML / AJAX Jul 9th, 2009 |
| Replies: 5 Views: 1,063 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. |
Forum: JavaScript / DHTML / AJAX Jul 9th, 2009 |
| Replies: 8 Views: 328 Sorry, I did not note the location.href command, which is used instead of submit(). It seems to me to be more complicated than by using the standard methods. Also the methode="post" is better for... |
Forum: JavaScript / DHTML / AJAX Jul 9th, 2009 |
| Replies: 8 Views: 328 In the validateEmail() function there is a RegExp definition /^([a-z0-9])([\w\.\-\+])+([a-z0-9])\@(([\w\-]?)+\.)+([a-z]{2,4})$/i
which, I suppose, does not work correctly. It could be very useful if... |
Forum: JavaScript / DHTML / AJAX Jul 9th, 2009 |
| Replies: 8 Views: 328 Well, then the RegExp must be wrong. Try it separately. There is plenty of email validation examples. When I put this into my Kate text editor it does not find any email address. Try to delete the... |
Forum: JavaScript / DHTML / AJAX Jul 9th, 2009 |
| Replies: 37 Views: 3,906 Quit correct - the character <EOL> (End of Line) whatever code it is, ads an additional #text element between the table cells, what means that two consequent cells are not further the neighbors hence... |
Forum: JavaScript / DHTML / AJAX Jul 9th, 2009 |
| Replies: 8 Views: 328 Yes I must stay on my previous response
- either finish the doContinue() function with somthing like: this.form.submit()
- either use the type="SUBMIT" instead of type="BUTTON"
And cut off the... |
Forum: JavaScript / DHTML / AJAX Jul 9th, 2009 |
| Replies: 37 Views: 3,906 Hi, I had no chance to write long posts, neither to test the script modification, while iPhone does not offer JavaScript IDE of any kind :-)
But I do not fully understand the last request - to... |
Forum: JavaScript / DHTML / AJAX Jul 9th, 2009 |
| Replies: 8 Views: 328 Sorry, but your scripts do exactly what you wrote. There is no submit() command nor SUBMIT button, hence no reason to do the <FORM action="....">
Try to write less decorative but more functional... |
Forum: JavaScript / DHTML / AJAX Jul 7th, 2009 |
| Replies: 1 Views: 751 Try the difference:
<INPUT type="text"><br>
<INPUT type="password"><br>
<INPUT type="hidden"><br> |
Forum: JavaScript / DHTML / AJAX Jul 7th, 2009 |
| Replies: 12 Views: 1,130 Not realy sure, about what are you in doubt. Read more about the object definition and try this example:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">... |
Forum: JavaScript / DHTML / AJAX Jul 4th, 2009 |
| Replies: 37 Views: 3,906 As I am leaving home for some days:
- the total is processed by the sumus() fc. Pick the function call to this fc. out of the fc. emptyStr(oRow), and and do not forget to append it into ed(oBut)
-... |
Forum: JavaScript / DHTML / AJAX Jul 3rd, 2009 |
| Replies: 37 Views: 3,906 Hi,
I hope your code needs a minor repair only:
- somehow disappeared the <BODY> & <FORM ..> headings
<BODY><form method="post" action="./ThePage.php"> where ./ThePage.php should be overwritten... |
Forum: JavaScript / DHTML / AJAX Jul 3rd, 2009 |
| Replies: 37 Views: 3,906 I am bac again :-)
-- the brand u select once does not come for second time......
yes, this is the feature maden by the knockOut() function, if not wanted, rewrite the function as this:... |
Forum: JavaScript / DHTML / AJAX Jul 2nd, 2009 |
| Replies: 37 Views: 3,906 As I promised, I pulled out a piece of code and added it into the exaple, to show you a nice trick, how to create an option list very easy and clearly. As I added the <SELECT> column, it cause me to... |
Forum: JavaScript / DHTML / AJAX Jul 2nd, 2009 |
| Replies: 37 Views: 3,906 Yes yes, very nice graphic layout. I always concentrate to the functionality, may be I got less graphic talent :-) But I can recognize the art. (I know about the CSS only that it exists, may be you... |
Forum: JavaScript / DHTML / AJAX Jul 2nd, 2009 |
| Replies: 37 Views: 3,906 There are some methodes I use frequently:
oElColl= object.getElementsByTagName('tagName');
oElColl=document.getElementsByName(elementName);
oneElmt=document.getElementById(elementId);
Be... |
Forum: JavaScript / DHTML / AJAX Jul 1st, 2009 |
| Replies: 37 Views: 3,906 I think over the float input and found you can rewrite the check() function so:function check(strt)
{ return (parseFloat(strt)!=1*strt && strt!='')?check(strt.slice(0,(strt.length-1))):strt }Hm,... |
Forum: JavaScript / DHTML / AJAX Jul 1st, 2009 |
| Replies: 37 Views: 3,906 Oh sorry, I used the wrong form and the code was not formated. Hence once again:<input type="button" value="del" onClick="ed(this.parentNode.previousSibling.firstChild);... |
Forum: JavaScript / DHTML / AJAX Jul 1st, 2009 |
| Replies: 37 Views: 3,906 Shortly: [code]<input type="button" value="del" onClick="ed(this.parentNode.previousSibling.firstChild); this.parentNode.parentNode.parentNode.deleteRow( this.parentNode.parentNode.rowIndex );... |
Forum: JavaScript / DHTML / AJAX Jul 1st, 2009 |
| Replies: 1 Views: 435 Uncomment whatever you want, try, think. :-)
<script>
var arrURL = new Array('http://server/page0.jsp' ,'http://server/page1.jsp' ,'http://server/page2.jsp' ,'http://server/page3.jsp');
... |
Forum: JavaScript / DHTML / AJAX Jul 1st, 2009 |
| Replies: 37 Views: 3,906 Hi again,
I do not want to argue what is an error and what does not. I tried to show some of my programing experiences.
You may see that a short function check() does the work of input... |
Forum: JavaScript / DHTML / AJAX Jun 30th, 2009 |
| Replies: 1 Views: 336 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 here... |
Forum: JavaScript / DHTML / AJAX Jun 30th, 2009 |
| Replies: 37 Views: 3,906 Hi, it could be very useful, if you first wrote a simple HTML skeleton of the page even free of the scripts and features, but with the fully unique named items and/or with id. Than it could be much... |
Forum: JavaScript / DHTML / AJAX Jun 30th, 2009 |
| Replies: 37 Views: 3,906 As I am takinkg off the Internet, I drop down here the revised code:<HTML><HEAD>
<META http-equiv="content-type" content="text/html; charset=UTF-8">
<TITLE>add/ed/del row</TITLE>
<script>
... |
Forum: JavaScript / DHTML / AJAX Jun 30th, 2009 |
| Replies: 37 Views: 3,906 Here you are the code:<HTML><HEAD>
<META http-equiv="content-type" content="text/html; charset=UTF-8">
<TITLE>add/ed/del row</TITLE>
<script>
function add(oRow)
{... |
Forum: JavaScript / DHTML / AJAX Jun 29th, 2009 |
| Replies: 1 Views: 781 Add onSubmit event, and write a JavaScript function to evaluate the submitted form before sending.
Or use <input type="button" value="Send!" onClick="evaluate(this)"> instead the submit button... |
Forum: JavaScript / DHTML / AJAX Jun 28th, 2009 |
| Replies: 5 Views: 550 Little "d" for a man, the great problem for the browser :-D |
Forum: JavaScript / DHTML / AJAX Jun 27th, 2009 |
| Replies: 3 Views: 523 What about simply:<tr ... ... onMouseOver="this.style.backgroundColor = 'pink';" onMouseOut="this.style.backgroundColor = 'white';">This is not the case for use the machinegun :-) |
Forum: JavaScript / DHTML / AJAX Jun 27th, 2009 |
| Replies: 5 Views: 550 I am sorry to confuse with such a damned mistake: I wrote with insted of width.
This is, what I had suggested: <select>
<option>short</option>
<option>very very very very long</option>... |
Forum: JavaScript / DHTML / AJAX Jun 27th, 2009 |
| Replies: 1 Views: 330 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)... |
Forum: JavaScript / DHTML / AJAX Jun 27th, 2009 |
| Replies: 5 Views: 550 Do not waste the time. The with 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... |
Forum: JavaScript / DHTML / AJAX Jun 27th, 2009 |
| Replies: 12 Views: 2,448 You are welcome :-)
I cannot help you with jQuery, because I have not meet it yet, not even been looking for. I originaly spent lot of time with developping the PHP interface to MySQL databases by... |