Hellos,
I'm trying to write a script to encrypt files (some text, some autocad some *.doc ect) prior to ftp'ing them to an outsourced firm we use. I've found the example below but it doesn't seem to be working.
use Crypt::CBC;
use FileHandle;
use strict...
Hello,
I'm trying to test a clientside ado connection to update a db table when the client loads a page. After it is working I would encode the clientside script to protect the db connection from prying eyes.
I haven't messed with a dsn-less connection or ado connection in jscript I do them...
You guys are golden Thanks very much both of you.
One day I'll understand the documentm objects and the jscript enough to follow along a little better. Trying to blend both of them at the same time is confusing though at the moment lol.
Thanks, Danzig
Checked it its lowercase still.
<html>
<head>
<title>select changer</title>
<script language="javascript">
function changeSel(sel1,sel2) {
var x;
var curr = sel1.selectedIndex;
for (x=sel2.options.length-1;x>=0;x--)
sel2.options[x] = null;
for...
The actual otions for the listsboxes will be vbscript/sql generated on the serverside. The client side is just to have the logic to deal with the users selections and some light weight rules.
The code that Tsuji posted almost works perfectly but generates errors after selections are made...
This doesn't have the incrementing issue but say a user selects 10.80.92.5 then listbox2 is 10.80.92.6-20 then they realize that they needed to select 10.80.92.3 not 10.80.92.5 but now listbox2 only contains 6-20 so 10.80.92.4 isn't available for the reselection.
Thanks, Danzig
That doesn't generate the object errors but the list2 option removeal still seems to increment with each selection.
IE select 1 time option 10.80.92.2 the next available selection is in listbox2 is 10.80.92.3, but wait I selected the wrong one reselect 10.80.92.4 in listbox1 now the next...
Not really sure to be honest but I sure somebody has something that works like this someplace of sees what I did wrong.
I'm not really a jscript person, have been doing vbscript is server side asp but am starting to like the jscript for clientside interaction.
Thanks, Danzig
Hello,
I borrowed an example from another post to try to do something for a page I'm working on but I seem to have something off.
The desired function of this is to allow the user to select a begining IP range from listbox 1 and then remove that selection and the preceeding selections from...
Ok Scratch that I had to re-write to follow the ipv4 rules. Thought I'd share the finished product incase anybody else would need it. Its probably not the tightest code but it works very well.
Happy Friday, Enjoy
'Subent-Creator.Vbs Rev.1
'By Danzig 1/27/2005
'
' Creates a valid ipv4 subnet...
Hello,
Has anybody written anything to calculate IP subnets / Valid Host Ranges?
I've starting working on a project that I need the calculations it. I started creating a table based version but see that there will be some problems with it (IE invalid IPs with in the range will not be...
Well if I set the window.defaultstatus = '' in the BODY onload="initalt()" function that sets the status bar to null until the onmouseover="doalt('Popup text')" event fires then the status still changes to the url link in the <a href > tag.
Any ideas?
Thanks, Danzig
Here it is. I've added the window.status ='' ; to about every part of the doalt() function. What I'm needing is to completely hide the urls at all times. I would be using this in a framed page so they do not show in the address bar now but the hyperlinks do show at the moment in the window...
I don't really know jscript quite well enough to re-tool the whole thing. I have tried adding the window.status=''; to about every section of the mouse over event and it still displays the url in the status window. Am I adding it in the worng places?
Thanks, Danzig
Hello
I'm not a jscript person more of a vbscript and am trying to combine two functions to work for the same event. I'm sure somebody has something like this already and will probably see what I need to do instantly.
HTML Code
<html>
<head>
<script language="javascript">
function...
Still semms to have something a mis says a syntax error on line 16 and if you type in the first input box it gives object required errors.
<html>
<head>
<script language=JavaScript>
var arraydata1 = new Array("a","ab","abc");
var arraydata2 = new Array("1","12","123");
function...
That seems to generate a lot of errors
<html>
<head>
<script language=JavaScript>
var arraydata1=new Array("a","ab","abc");
var arraydata2=new Array("1","12","123");
function populateField(source, target)
{
if (target)
{
var char = "";
for (var i=0; i < arraydata1.length; i++)...
It was that and
<input type=text name=string1inputcode onkeyup='populateFields(parseInt(this.value, 10));'>
should read
<input type=text name=string1inputcode onkeyup='populateFields(this.value);'>
What would you need to do to take this to the next step and convert say a phrase as it is...
Hello,
Can somebody give me a hand on this auto complete?
<html>
<head>
<script language=JavaScript>
var arraydata1 = new Array();
var arraydata2 = new Array();
arraydata1[0] = 'a';
arraydata2[0] = 'b';
arraydata1[1] = 'aa';
arraydata2[1] = 'bb';
arraydata1[2] = 'aaa';
arraydata2[2]...
Hellos,
I'm looking to add a few pages to our internal IT site that document some of our processes system to system interfaces ect. The majority of these interfaces are all scripted as a part of the documentation of the process I'm wanting to include the files and source code involved in each...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.