A Ping Program In Javascript?
Jul 23, 2005I'm wondering if its possible to write a javascript, that can ping a ip and return the average round trip time (like ping in dos/linux)?
View 14 RepliesI'm wondering if its possible to write a javascript, that can ping a ip and return the average round trip time (like ping in dos/linux)?
View 14 RepliesI was looking for any method to run a ping command to a static ip using javascript. Is that possible? Could I use some bash script inside of javascript for that?
View 2 Replies View RelatedI am trying to use javascript just to make a gui for a program written in C++. I am having trouble finding any information on how to input data obtained from a user in the javascript application into the C++ program if it is even possible.
View 5 Replies View RelatedI mean, I've a COM object, as Word.Application. How to implement in a
javascript function for using their methods?
Is there a way to do a PING from within Javascript and do different things depending on the result, kinda like
Look at [url]
Hover the mouse pointer over the labels for doofus and dingbat to see how I want it to look.
i'm in need of a DHTML program for design tourism management program.. Since i don't have idea on it i unable to design it.
View 1 Replies View RelatedThe assignment is: Write a JavaScript program to find all Pythagorean triples for side1,side2 and the hypotenuse, all no larger than 500. Use a triple-nested for loop that exhaustively tries all possibilities.
PHP Code:
<script type="text/javascript">
var side1;
[code]....
I have an assignment to create a program in JS but I have not read JS much more. So, for this assignment, can anyone help me to solve this assignment? Check attachment. [URL]
View 1 Replies View RelatedHow to run ajavascrpt prgram...i.e .js extension........
Is it to be run in dreamweaver...or any other simple way is there......or it is to be embedded in html code...and then run as .html extension...
in javascript i pass value to a hidden field and i get that in alert msg but the same value i am not able to get in teh code behind page in asp.net
alert(document.form1.id.value)
in page behind
i use x= request("id")
not hetting teh value i get a eror msg erro obtaining the value
Is it possible to run an external program with a simple click in IE?
Actually i need to launch an editor with parameter, like
uedit32.exe "C:var est_devXML_HTMLSax-2.1.2XML_HTMLSax.php"
I guess some active-x stuff is required....
P.S. *.bat trick won't do as the file parameter is dynamic
I'm trying to write a Tic-Tac-Toe program in JavaScript. I have an array containing the state of the grid. For some reason when I update the "O" for the computer's move, it doesn't show this in the updated grid. I don't understand why.[URL].. I'm brand new to JavaScript, and sometimes I accidentally use syntax from C++ or PHP when writing, so it could be something as simple as that. I just can't figure it out.
[Code]...
I have the source code to an old BASIC program that a friend of mine
would like to run online. I am a beginner at JS, but I think that it
would be a good choice for the project. My background is in C/C++ and
web development.
Any suggestions that might get me off to a good start here? I can
provide more information if needed, but I am not sure what would be
helpful. The program is 550 lines in what appears to be BASIC and is a
calendar conversion program. You give it a date and it will convert it
into one of many other date reckoning systems (Gregorian, Hebrew,
Egyptian, etc, etc).
import javax.swing.JOptionPane;
class TriangleArea
{
public static void main(String[] args)
[Code]....
I am trying to create a program that will run and repeat asking user for another input. The program is work but i cannot get the while loop or to ask user to enter another input to work.
javescript program that adds all even integers between 1 to 100
View 5 Replies View RelatedI recently made a java program (multiple classes) which requires user inputs (multiple classes), however I am not sure how to either A) turn it into javascript so that I can put it on a website, or B) add the java file itself to a webpage.
View 1 Replies View RelatedI want a person to enter a string value in a javascript program.Example: Choose Rock, Paper, Scissors.Person: Rock.What is the code for a program to take in strings? Like parseInt andd parseFloat are for numbers. What is it for strings?
View 2 Replies View RelatedHow would I go about repeating an entire program? I know it's a loop, not sure which one. I've tried a while loop.For example:
Q: Do you want to play a game of Rock, Paper, Scissors?
A: Yes -Program Runs-
Now, how would I have it ask if the user wants to play again?
Q: Do you want to play a game of Rock, Paper, Scissors?
A: Yes -Program Runs-
Q: Do you want to play again?
A: Yes -Program runs again-
Q: Do you want to play a game of Rock, Paper, Scissors?
A: Yes -Program Runs-
Q: Do you want to play again?
A: No -Program terminates-
I want to make a banner with size : 425*60 leaderboard.but i don't know to create the banner with Javascript and bring all client side data such as : traffic,impression and ip address to my PHP server side processing page and then update entire data to my database.
this is the sample script for CPM/CPC program banner :
<script type="text/javascript" language="Javascript">
aj_server = 'http:vidasco.rotator.hadj7.adjuggler.net/servlet/ajrotator/'; aj_tagver = '1.0';
aj_zone = 'vidasco'; aj_adspot = '117727'; aj_page = '0'; aj_dim ='59638'; aj_ch =
[Code].....
I have a problem with my perl program - it is not able to display the output of vowel count and word repetition count from a text file.
The whole Perl program is supposed to read a paragraph of text and calculate followings based on the text:
1. number of empty spaces.
2. number of words in the text.
3. number of vowels in the text (a,e,i,o,u)
4. number of words with repetition in the text
Example output:-
No. of empty spaces: XX
No. of words : XX
No. of vowels -
a:: XX
e: XX
I: XX
o: XX
u: XX
Words with repetition-
Word 1 : XX
Word 2 : XX
..... ....
..... ....
Here below is the program so far:
I'm trying to set up a password field in a program used for website design called Web Easy Professional. The good thing is I can write specifically what I need for the field. The bad thing is I don't know how. I'm not a genius, and have little scripting experience, but I pick up it up easily. Is there a javascript that's best to use for password fields?
View 3 Replies View RelatedWhen I input my email address on this website, it provides a drop down
box with two of my email addresses. The right bottom corner has a few
45 degree lines to indicate the user can change its size. Do you know
how to create it? I could not find the code in the source.
I just started to learn jQuery. I downloaded the book "Learning jQuery, 3rd edition" and tried the very first program. My program consist of just HTML page, a CSS file and javascript file. I made a folder MyFirstJQueryPage and put all my files inside it.I also downloaded the jQuery file named "jquery-1.6.4.min" and renamed it to jquery and put it in the folder where my all files are present.
[Code]...
Now please tell me that what i am doing wrong in my program. Why the code in the external javascript file isn't working.
I'm making a dice program, that randomly draws x amount of times for x sided die. I decided to add on a "history" feature to this program--displaying the previous rolls (unlimited I imagine) and to show the math that comes from that equation. Everything works perfect except for the history function.
I've got a div area sectioned off with the id divhistory. At the end of the dice rolling program it calls function fhistory(z). Where z is the string that displays the random rolls and total (1 + 3 + 2 = 6).
Heres the code I've been fusing over. I imagine it's horribly off--but I'm also terrible with arrays it seems...
I almost got part of this one program to work. It is of a golf sign with a golf ball moving across and landing in the word Golf into the "o" When the ball lands in the o the sign of "your online source of golf equipment" appears after ball has landed and grows in size.
right now the ball is what I have but I can not get my sign to appear.
I use 2 external files
I will post all the coding here
here is my main file I worked on
this is my golfpage.htm file
<html>
<head>
<!--
New Perspectives on JavaScript
[Code]....
What i am not able to get work i think is to call the changeFontSize() function to increase the size of the "sign"
also an if statement to test value of fs variable is less then equal to 20
how do i get my sign to appear on the output?
I need to find all the dates between two given dates.
For e.g dates between, 02/03/09 and 02/15/09 format is in mm/dd/yy.
I need java script program for this.