Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~3K People Reached
Favorite Tags

9 Posted Topics

Member Avatar for Ghodmode

I'd like to use JavaScript to add rows to a table. It seems like an easy idea, but it occurs to me that the parent node of the rows might technically be a TBODY element. So, I'm wondering if I use appendChild to add a table row to a table …

Member Avatar for codejoust
0
321
Member Avatar for rdevi

In Windows, the operating system handles file-locking. I haven't looked too closely at your code, but this is a problem that has affected me on several occasions. If the file you're trying to copy is open (or running), Windows may have it locked and prevent Perl from copying it. Also, …

Member Avatar for rdevi
0
163
Member Avatar for valonesal

Old-school way: use an iframe... [code=html]<iframe name="dbinfo" id="dbinfo" width="500" height="300" frameborder="0" src="dbinfo.php" > <h1>Yo Dude! Turn Frames Back On!</h1><p>(or go <a href="dbinfo.php">here</a>)</p> </iframe>[/code] New-fangled way: use a JavaScript XMLHttpRequest... [code=html] <div id="dbinfo"> <h1>Dude! Turn JavaScript Back On!</h1> <p>(or go <a href="dbinfo.php">here</a>)</p> </div> <script type="text/javascript"> var request; if ( window.XMLHttpRequest ) …

Member Avatar for valonesal
0
170
Member Avatar for axn

You can use back-quotes (`) or [icode]qx//[/icode]. You should also redirect the standard error to the standard output in order to capture all of the output. You might be running into a problem where one of the commands you execute from your shell script acts differently when it's executed from …

Member Avatar for axn
0
915
Member Avatar for nilusara

You can detect the browser in use and display the message. You can even have it hide the page content unless the browser used is Internet Explorer. However, there's no way to use JavaScript (or any other web dev. code) to open a completely separate program. If you are really …

Member Avatar for Troy III
-1
284
Member Avatar for Ghodmode

Is it possible to iterate through an anonymous array of strings with a for loop? Here's what I'm trying to do:[code]for ( i in ['country', 'city', 'state'] ) { doSomethingWithString(i); }[/code] What I want is the string, but what I'm getting is the index number of the array, which I …

Member Avatar for Troy III
0
1K
Member Avatar for dombit

I don't think you can do what you want with only JavaScript, but it should be relatively easy if you can put a script on the web server and execute an external command. Then you can call that script's page with a JavaScript XMLHttpRequest (AJAX) request to get the IP …

Member Avatar for Ghodmode
0
113
Member Avatar for Ghodmode

Is there a way to act directly on an array value returned from a function without assigning it to another variable first? For example, if I just want the third value in a CSV record, I might like to do it like this: [code]$value = preg_split('/,/', "one,two,three,four")[2];[/code] But that doesn't …

Member Avatar for somedude3488
0
155
Member Avatar for Ghodmode

Does anyone know where I can find a complete list of DOM/DHTML event types documented? I'm trying to learn more about advanced event handling in JavaScript and I'd like to find lists of event types that I can attach/add event listeners to. I've been searching around and I've found a …

0
121

The End.