How To Shutdown The Redhat Linux Computer

Feb 10, 2011

i want to shutdown red hat linux computer using java script is this possible.

View 1 Replies


ADVERTISEMENT

Shutdown The Red Hat Linux Computer With Script?

Feb 10, 2011

I want to shutdown my computer using java script is this posiible.

View 1 Replies View Related

Run A Program On The Server Computer From Another Computer?

Jun 28, 2010

i have a small (LAN only) web server running on my computer, and i would like to be able to make a web page in which i can run a program on the server computer from another compuer. say, for instance, i click a button on the web page running on the server, i want that action to run a .exe on the server. i came up with this code, but it doesn't run it server side, it runs it on the computer with the browser.

<HEAD>
<TITLE>Run Executable HTA</TITLE>
</HEAD>[code]....

View 2 Replies View Related

Buttons Causing Error/shutdown

Oct 14, 2002

I have these scripts for the page link buttons (home, about us etc) for a number of 'template' websites. The code is returning the following error:

Line: 5
Char: 2

Error: 'target manager' is null or not an object

With older browsers, it may even force a browser shutdown? Code & scripts attached.

View 2 Replies View Related

JsLint (or Similar) On Linux

Oct 31, 2005

I was wondering if anyone knew of a syntax checker/varifier that can be run command line in Linux. I recently ran across JsLint, an online JS verifier that works pretty good. The verification code is written in JavaScript, but he did provide an explanation on how to run it command line using WSH (windows script host).

Does anyone know of something similar on Linux (I'm actually running FreeBSD, but figured Linux would get more responses )? Is there a way to execute javasript command line? Or is there a similar program that varifies javascript?

The reason I'm asking is I would love it if I could check javascript syntax while editing in Vim (I can do this with php, and I can't live without it now ). I thought about maybe creating a wrapper html that runs the script and outputs the errors, but figured why create something new (and not elegant) when there might be a solution out there already.

View 2 Replies View Related

RUN TIME : 0.046385049819946 At Linux Firefox?

Jun 9, 2011

I have an message RUN TIME : 0.046385049819946 at linux firefox.The script is used for menu system at top and left side.

var frm = document.mainsearch;
var bar_bool = false;
var body_bool = false;

[code]....

View 1 Replies View Related

Toggle Check Boxes In Linux?

Feb 12, 2009

How to toggle check boxes using JavaScript in Linux?

I was able to do the same in Windows with the below code....

function toggle_checkboxes(id)
{
if (!document.getElementById){ return; }
if (!document.getElementsByTagName){ return; }

[Code]....

The same code is not working when I run it from a Linux machine. When the button is clicked, nothing is happening

View 9 Replies View Related

JQuery :: Detect Enter Event On Linux

Jul 21, 2009

I am using jquery to make a Comet chat client. But I have problems to detect "press enter" event on Linux. It's really strange. The same code runs well on windows:

View 1 Replies View Related

Need Good Links On How To Send Form / Unix/ Linux

Nov 6, 2005

I need to know how to send form output to a non-windows platform. what
are the standards script in? are they in cgi or php?

View 1 Replies View Related

Newline Char Question For Unix/Linux Users

May 16, 2005

In textareas or input textboxes, when you dynamically add '
' to the textbox's value, is it automatically converted to '
'? If it does, in what browsers does this happen? Firefox (and other Geckos)? Opera? Konqueror?

View 4 Replies View Related

Script Stopped Working - Error Occurs In Chrome And Firefox, Under Windows, Linux And Mac??

May 17, 2011

In our organisation we are developing a website which makes heavy use of javascript.Right now we have jquery 1.4.2 as js library.The problem is,on a few pages, we get the 'script stopped working' error and we just cannot find out what exactly causes the error.

This is what we know:It occurs in chrome and firefox, under windows, linux and mac.In FF 2 it happens on every pageload of a certain testpage whereas in FF >= 3.6 it only happens'randomly'If we take out all the js includes from that page and load it up in FF 2, there is no error, obviously.if i set the'dom.max_script_run_time'value in FF 2 to 11 seconds,the error vanishes, and if i set it to 10 sec (the standard) it occurs on every page load. If i set the value to one second in FF 4 it still doesnt occur regularly.There seems to be a correlation between slow computers and fast computers, with more errors on the slow computer side.

how to debug that error at all? Or how we can find a testcase, something with which we can reproduce this error in every combination.

View 3 Replies View Related

Get MAC Address For Clients Computer

Jun 11, 2010

I am looking for an example/code to get MAC Address with JavaScript or any other technology for a php based web application. The collected MAC Address will be stored in a MySQL table, 'login' to generate reports. I have found some php scripts helping me do this but it does not get the client computers MAC Address. And these examples work only on localhost. While running it on the server the MAC Address is different than the local one.Can we find out the MAC Address for a clients computer anyways to use in the application and which will be cross browser compatible?

View 2 Replies View Related

How Computer Know Whose Scored More In A Game?

Jun 25, 2011

I'm wanting to know how does the computer know whose scored more in a game?

View 1 Replies View Related

Get MAC Address For Clients Computer?

Jun 11, 2010

I am looking for an example/code to get MAC Address with JavaScript or any other technology for a php based web application. The collected MAC Address will be stored in a MySQL table, 'login' to generate reports. I have found some php scripts helping me do this but it does not get the client computers MAC Address. And these examples work only on localhost. While running it on the server the MAC Address is different than the local one. Can we find out the MAC Address for a clients computer anyways to use in the application and which will be cross browser compatible?

View 2 Replies View Related

Get Computer's Real IP Address Behind ISA Server?

Apr 23, 2011

I want to find real IP Address of computers that are connected to my company's website. All users who want to see our website pass from our ISA Server. So, if I want to get their real IP Address with javascript commands, I'll get one and only one IP Addres from anywhere that is our ISA Server address. How I can get real ip address of those computers and compare it with predefined address?

View 1 Replies View Related

Sending Form From Public Computer

Nov 13, 2001

We have a form on our website, which ends up being sent to an e-mail address. The only problem is that some people access this form using public computers. When they press submit , the Internet Mail Wizard pops up and tries to make them setup a new account. Obviously because they are using a public computer we can't have them setting up e-mail accounts on that computer.

View 3 Replies View Related

Retrieve The Local IP Address Of A Computer?

Oct 17, 2010

Is there any way one can retrieve the local IP Address of a computer? For example 192.168.0.1 as opposed to the internet connection IP address. Or is there a way to retrieve a unique identity of a computer using either PHP or javascript. Or any other sort of code?

View 8 Replies View Related

Create A Constructor For A Computer Object?

Jan 1, 2011

I need to create a constructor for a computer object. This object must have three properties: speed, and mem_live mem_dead. Then I need to create a new object using this constructor and then have its properties displayed on the screen.Look at what I'm up to so far:

function Computer(speed, mem_live, mem_dead)
{
this.speed = speed;

[code]....

It always just shows : 4.0ghz, true, false

View 2 Replies View Related

JQuery :: Works Nicely On One Computer, Fails On 3 Others?

Jan 12, 2012

jQuery script I wrote works nicely on one computer, fails on 3 othersManaged to get jQuery datepicker to work nicely with $wpdb.This all seems correct to me:

<li><label for="from">From</label>
<input readonly="true" type="text" name="from" id="from" value="Click here to choose!" class="requiredField" style="position: relative; z-index: 100000;" />

[code]....

View 1 Replies View Related

Get Into Making The Actual Dropbox Program For The Computer?

Aug 24, 2011

Before I get into making the actual dropbox program for the computer, I would like to get my Online File Manager set up.

View 2 Replies View Related

How To Avoid JavaScript From Getting Saved On Visitors Computer

Jan 7, 2007

On many pages like Yahoo or similar, if we try to save the page by File>Save many of items like images or JavaScripts does not get saved on computer how is this achieved.

View 1 Replies View Related

Detecting If Somebody Manually Saves An Image To Their Computer?

Nov 23, 2011

I'm trying to keep record of how many times an image has been downloaded. Is it possible to detect if a client manually saves an image through their browser?

View 1 Replies View Related

How Can I Like Make A Browse Button To Search Your Computer

Apr 3, 2007

How can I like make a browse button to search your computer. and whatever file you choose goes on a textbox. then when you press the submit button it loads then after its done loading it puts the file on my website?

View 3 Replies View Related

Onblue () Function Is Not Working In FirFox On Mac Computer?

Jun 29, 2010

Onblue () function is not working in FirFox on Mac computer , so what should I do .

View 2 Replies View Related

Set To Apply To A Certain Timezone Not Users Computer Time?

Jul 13, 2010

I was wondering if I could set the script below to apply to eastern standard time and not the users computer time. So it wont confuse users over seas, Im using it to display scheduled announcements as the header.

<script type="text/javascript">
var d = new Date();
theDay=d.getDay();

[code]....

View 4 Replies View Related

Getting Info About Computer Automatically Populated Onto A Form

Sep 3, 2010

In the IT department that I work at, when we move a computer/install a new one we have to fill out a form with the information on the computer (CPU clock speed, amount of RAM, OS and service pack, etc). I created a web form already where instead of doing it on paper, we can fill it out online and it'll send it via email. My boss now wants me to figure out a way to automatically populate the form with the information the computer should know. I think I can do the IP Address in the ASP we have on there, but I think I need something client side to do the other things. I guess my first question is if this is even possible using javascript?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved