No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Hi. I have a calculate.js javascript file where all the function that execute the calculation is consist in this file. Now, I want to retrieve a data from the database for javascript calculation and be done in this calculate.js file. I have search a lot of methods to do this … |
|
Re:
Hello all - I'm having some trouble UPDATING my mysql using php. I'm working on a event planning system; the user can click on the company to see a small report that has some areas which must be editable (payment status, etc.). I get these values into a form to … |
|
Hi) I needed to make it possible for the user to upload many files from many directories of his pc to server. Here is the html and js code html [CODE] <div id="addPhoto" > Path and Title of the Photo. <br /><br /> <input type="file" name="flImg0" /> <input type="text" name="txtTtl0" … |
|
I cant decide if it is appropriate to use user defined functions for every single action in a page..or it somehow may slow the work? I can alternatively make different php files instead of functions,,and they will do the same thing depending on values of some variables, but i would … |
|
Re:
I know this is probable a easy one for most of you...But this is my first Javascript. I am trying to write a code that will add two numbers entered by a user and calculate the sum. When I wrote the code inside the HTML it worked fine. But I … |
|
Hey ppl. I use apach and i've got a problem that i cant fix when i write this code .. [CODE] <img src="Z:/home/localhost/www/ImageGallery/Images/mmbg3xmx3g.gif" width="100px" height="100px" name="imgPreview" /> [/CODE] no image is shown. Whats wrong? The image surely exists in the specified path. And one more problem with this is that … |
|
hey ppl. I have many submit buttons in a form. Each of them does its thing in different php pages. But when, for example, 'add' button goes to 'add.php' it does its work but stays there) how to redirect page back? thanks |
|
hey. I need to make file names be consisted of only numbers and letters. Like if there is an image named 'img*1L%^_ove>ly.jpg' it will become 'img1Lovely.jpg' . Only digits and letters (btw letters meaning even if not english letters). Thanks a lot. I went through php.net, failed finding sth like … |
|
Hey. I am new to webprogramming..so sorry if this question sounds stupid:D I just wanted to make an animation but in firefox that animation just doesnt appear tho it works great in IE and opera. Do you have any idea what's wrong? I use the function setTimeout() and document.all[id].style...etc to … |
|
[CODE]<input type="button" onclick="move()" value="go" /> <br /> <img src="btn16.gif" style="height:100px; width:100px; top:0px" id="img" /> <script> var k=0; function move(){ var t=document.getElementById("img").style.top; t=parseInt(t); t+=15; document.getElementById("img").style.top=t; if(k<10){ k++; setTimeout("move()",1); } } </script>[/CODE] |
|
Re:
Hey everyone, I literally just started to learn Javascript today and started with a function that takes in a string and tells you the number of vowels (a,e,I,o,u) in it. It works, but when I use document.write(vowel("hello")) in my body, instead of just giving an output of "this string has … |