I have seen web pages sites, when you drop down a list box, it seems to go
back to the server to retrieve some data without reloading the whole page
(e.g. select make of car and it retrieves a list of models from the server
to populate another list box).
All are the same except the value is set differently for each one. The reason for the  is so I can access the checkbox values as an array on the processing page (when clicking 'Submit');
I suppose my problem is that I am not specifying the checkbox array properly. I tried several variations, but I've been working on this problem alone for several hours and am getting nowhere. Code:
<script src = "./js/tmp.js".....>
I thought of uploading "tmp.js" it to somewhere and change my code to
I'd like to implement a server socket in java: something linke the following example.
The problem is that the HTML has not the permission to execute instruction serverSocket = Components.classes["@mozilla.org/network/server-socket;1"]. createInstance(Components.interfaces.nsIServerSock et);
1 - how do I give it this permisison?
I might be turning a corner today and seeing the light. I might still be confused :)
Unfortunately, it's not solved. I can change the reference from var url='http://www.devserver.com/function.php?id='+id; to var url='http://www.liveserver.org/function.php?id='+id; but that doesn't solve the issue of if someone comes to the page without the 'www' or to the other domain, whose TLD is a .com instead of .org.
I have read up about Microsoft Remote Scripting but the documentation states the following : "The server which you make remote scripting calls must be the same server from which you requested the client page containing the requests."
In my case , the client and server pages are on two seperate servers which means that I cannot use MS Remote Scripting.Is there an alternate approach in any scripting language ???
Any suggestions, tutorials , websites , code snippets will be appreciated while i continue to research on this...
Thing is I have a server-generated HTML page that I want to make the client redirect to a password protected site. (IIS Windows authentication).
I'd like to adapt some Greasemonkey scripts that I've written and have them applied to html files on the server side before the files are sent to users. I'm only looking at adapting scripts that make static changes to pages. For instance, consider a script that removes from the DOM any img that has "ad" in its src.
I'm sure there are better ways to do this and I'm not even necessarily looking for an extremely efficient solution. Mostly, I just want to know if there's an existing product that could do this or with reasonable effort could be made to do this.
I want control a hardware device using a Web browser. I created a page which has a form containing all necessary INPUTs. By clicking a button, all current settings are sent to the server side (using POST or GET) so that the server can interact with the hardware, which is under the server's control.
Now, in some cases, I want to update the INPUT (w/ readonly) with the data from the hardware, such as a status value. Most primitive approach is creating a new page with new value to the INPUT, where I want to show the value.
But that is not quite efficient as the page appearance won't change except the contents of the INPUT.
I thought such scheme was already available, but so far, I don't see anything usable.
The Web server is not a commercial one but a custom Web server (written in Python) so that I want to keep the scheme as simple as possible. I checked AJAX but I'm not sure I can use AJAX in my application.
I want to make the script reusable by pages in different folders. The 'myfolder' is in the root of my site. How can I target this from any other folder such as the vbscript server.mappath('myfolder/myfile.asp')?