Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 06-02-2004, 04:28 AM   #1
Baseband Member
Join Date: Sep 2003
Posts: 67
Default PHP and Jscript scripting program

For those who like making their own web tools you will love this one.

I am developing a web development program using javascript and PHP, PHP takes care of all the file allocation etc whilst Javascript makes my pages do cool things like slide sideways.

I would really appreciate help with any of these problems.

-- I've had some trouble passing arguments to the Jscript window object method:


you can check out the window object at;
if you don't know much about it, or need a nice cut-down object reference.

I can call the function, but I don't know how to pass arguments to my fucntion. I've tried puting arguments in the func variable with my function, in the args variable with ', ", no talking marks and about everything I can think of. I would really love some code giving an example (that you know works) of how to use the setInterval function with optional arguments.

-- I also don't know how to create multi-dimentional arrays or objects, if anyones got any decent tutorials on how to make them I would really appreciate it. (as I have been unable to find any).

-- If anyone could suggest a free Javascript editor that tells me where my syntax errors are, I could really use it, as Java script doesn't say anything about any errors, and it's bloody CASe-SenSETIVity GRRR!!

-- I am currently in the process of building a folder tree for the editor as there was no decent folder tree's source code I could read and understand in 10mins. So if any one has any ideas for algorithms I would love some help.

And remeber all your contributions are going to a good cause, I just don't know what it is yet, I'll tell you all when I get a good idea.


Pentium I 133mhz
1.63GB HDD
Reiken is offline   Reply With Quote
Old 06-07-2004, 04:47 AM   #2
Baseband Member
Join Date: Sep 2003
Posts: 67

I was also wondering why I get 'undefined' when I have this code;

<body OnKeyPress="window.alert('You Pressed: ' + event.which);"

The code works fine, but for some reason the event property .which returns undefined in the alert box.
I tried other properties from the same object, some returned values, others returned undefined.

Does anyone know what's going on?
Pentium I 133mhz
1.63GB HDD
Reiken is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 02:52 AM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0