Re: javascript question

2008-12-31 Thread Eric Krause
Chas. Owens wrote: On Tue, Dec 30, 2008 at 18:50, bft wrote: Hi all, I am trying to interface with a work timesite server, and the site uses javascript. I am first presented with a login page (username, password) and then my current weeks timecard after successful login. My question is do y

Re: javascript question

2008-12-31 Thread Chas. Owens
On Tue, Dec 30, 2008 at 18:50, bft wrote: > Hi all, > I am trying to interface with a work timesite server, and the site uses > javascript. I am first presented with a login page (username, password) and > then my current weeks timecard after successful login. > > My question is do you think I sho

Re: Javascript Regex to Perl Regex

2006-03-23 Thread Jay Savage
On 3/23/06, Kevin Old <[EMAIL PROTECTED]> wrote: > Here's what I have. > > # Open js file > open JSFILE, "$ARGV[0]" or die "can't open file: $ARGV[0]"; > my $js = do { local( $/ ); }; > close JSFILE; > > # Clean js > $js =~ s/^\s*function\s+(?:\w+\(\)\s*)?\s*\{\s*\n//gi; > $js =~ s/\s*}\s*$//g

RE: Javascript Regex to Perl Regex

2006-03-23 Thread Timothy Johnson
I've gotta run, but maybe this is a place to start. -Original Message----- From: Kevin Old [mailto:[EMAIL PROTECTED] Sent: Thursday, March 23, 2006 11:35 AM To: Timothy Johnson Cc: Perl Beginners Subject: Re: Javascript Regex to Perl Regex Here's what I have. # Clean js $js =~ s/^\

Re: Javascript Regex to Perl Regex

2006-03-23 Thread Kevin Old
Here's what I have. # Open js file open JSFILE, "$ARGV[0]" or die "can't open file: $ARGV[0]"; my $js = do { local( $/ ); }; close JSFILE; # Clean js $js =~ s/^\s*function\s+(?:\w+\(\)\s*)?\s*\{\s*\n//gi; $js =~ s/\s*}\s*$//gi; # Write new js file open JSOUTFILE, ">out_$ARGV[0]" or die "can

RE: Javascript Regex to Perl Regex

2006-03-23 Thread Timothy Johnson
At first glance it looks like this should work: $fcode =~ s/^\s*function\s+(?:\w+\(\)\s*)?\s*\{\s*\n//gi; but I don't have any code to test it on. What do you expect to happen, and what is really happening? -Original Message- From: Kevin Old [mailto:[EMAIL PROTECTED] Sent: Thu

RE: Javascript and perl

2005-09-27 Thread Thomas Bätzler
Hi, Umesh T G <[EMAIL PROTECTED]> wrote: > Below is my index.pl Some comments: > #!/usr/bin/perl # consider using -T fpr taint mode use strict; use warnings; # consider using the CGI module, too. > use Env; > print "Content-Type: text/html\n\n\n"; One \n too many. > chdir("/path/to/dir");

Re: javascript in Perl?

2005-03-03 Thread DBSMITH
Below is the gui query |--+--| | | | |Object List by Administrator | | |--+--| | |

Re: Javascript issue

2005-01-11 Thread JupiterHost.Net
Anish Kumar K. wrote: Hi Hello, Sorry to put in this PL forum Then don't :) put it in a JavaScript forum Say I have Javascript alert like this. when I preview this I get the alert window it is working fine. But The caption of the window is" Microsoft Internet Explorer". Is there any way to cha

RE: Javascript issue

2005-01-11 Thread Thomas Bätzler
Anish Kumar K. <[EMAIL PROTECTED]> > Sorry to put in this PL forum Just don't do it. > Say I have Javascript alert like this. > > > when I preview this I get the alert window it is working > fine. But The caption of the window is" Microsoft Internet Explorer". > > Is there any way to change

Re: javascript Parsing

2003-10-21 Thread R. Joseph Newton
Francesco del Vecchio wrote: > Hi to all, > > I need to parse javascript into web pages to substitute all relative addresses to > absolute ones. Why? Are you in a masochistic frame of mind? > > > I do this job in the HTML using LWP but I'm having bad times trying to do it into > javascript >

RE: javascript and perl dbi

2003-03-26 Thread Ramón Chávez
e: http://www.perldoc.com/perl5.8.0/pod/perlfaq4.html#Why-don't-my-%3c%3cHERE-d ocuments-work- -rm- - Original Message - From: Dan Muey <[EMAIL PROTECTED]> To: Robbie Staufer <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, March 26, 2003 1:03 PM Sub

[Fwd: RE: javascript and perl dbi]

2003-03-26 Thread Robbie Staufer
Original Message Subject: RE: javascript and perl dbi Date: Wed, 26 Mar 2003 13:03:50 -0600 From: "Dan Muey" <[EMAIL PROTECTED]> To: "Robbie Staufer" <[EMAIL PROTECTED]> CC: <[EMAIL PROTECTED]> javascript... ... HTML Just watch out for y

RE: javascript and perl dbi

2003-03-26 Thread Dan Muey
Please post to the list so everyone can play. >Dear Dan, > >Like you, I think that perl can do everything php can do, and more. I'm in the >learning stages, so don't know alot about >either, but I've used both a few times. >So taking your advice, I have a perl script that will eventually do ev

RE: javascript and perl dbi

2003-03-19 Thread Dan Muey
> Hi, > > I have a web page where I've used Java Script to set up some > relational You mean wher if they choose something from menu 1 ,then menu 2 changes accordingly, right? However javascript script is client side so it doesn't matter to the scripts as long as the Data is submitted proper

Re: javascript and perl dbi

2003-03-17 Thread R. Joseph Newton
Robbie Staufer wrote: > Hi, > > I have a web page where I've used Java Script to set up some relational > menus, within a php script to send form data to a perl DBI script for > querying a database. The user selects an option from the first menu, > and an option from the second menu, and these va

Re: JavaScript/Perl Genius Sought

2003-01-16 Thread Rob Dixon
Dan Muey wrote: >> Dan et all >> >>> I also am applying for genius, looks good on resume! >>> Actually it's wizz400 and wizz400 lowercase 'W' >>> I logged in fine but am not quite sure what the problem is. Could >>> you elaborate what your'e trying to figure out? May be I missed an >>> earlier post

RE: JavaScript/Perl Genius Sought

2003-01-16 Thread Dan Muey
> Dan et all > > >I also am applying for genius, looks good on resume! > >Actually it's wizz400 and wizz400 lowercase 'W' > >I logged in fine but am not quite sure what the problem is. > Could you > >elaborate what your'e trying to figure out? May be I missed > an earlier > >post about it > >

RE: JavaScript/Perl Genius Sought

2003-01-16 Thread Maurice O'Prey
Dan et all >I also am applying for genius, looks good on resume! >Actually it's wizz400 and wizz400 lowercase 'W' >I logged in fine but am not quite sure what the problem is. >Could you elaborate what your'e trying to figure out? >May be I missed an earlier post about it The problem has been res

RE: JavaScript/Perl Genius Sought

2003-01-16 Thread Dan Muey
> > All > > > > I have to admit defeat on this one and will gladly > acknowledge anyone > > who solves it as a genius! The Perl script below is part of an > > application which can be tested at > > > > http://www.demo.wizz400.com/scripts/cgi-bin/wizz400/wizz400sop.pl > > > > You can login wi

RE: JavaScript/Perl Genius Sought

2003-01-16 Thread Beau E. Cox
Hi - > -Original Message- > From: Maurice O'Prey [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 15, 2003 11:52 PM > To: [EMAIL PROTECTED] > Subject: JavaScript/Perl Genius Sought > > > All > > I have to admit defeat on this one and will gladly acknowledge anyone who > solves it a

Re: JavaScript/Perl Genius Sought

2003-01-16 Thread Rob Dixon
Maurice O'Prey wrote: > All > > I have to admit defeat on this one and will gladly acknowledge anyone > who solves it as a genius! Maurice, OK, here's what I think is happening. You have a tag (curiously inside your ) with an onkeydown attibute of shortcut(). You also have several tagswith onke

Re: JavaScript/Perl Genius Sought

2003-01-16 Thread Rob Dixon
Maurice O'Prey wrote: > All > > I have to admit defeat on this one and will gladly acknowledge anyone > who solves it as a genius! Maurice This isn't really a beginners Perl question, so don't be surprised if you get an objector or two. However, unrelated to your problem is the suggestion that yo

RE: javascript anybody?

2002-11-05 Thread Toby Stuart
this is not a perl question. better posted to a HTML/javascript list. nonetheless the following works ... A B function updateSubCategory(sCategory) { var aSubCategories = new Array('A1','A2','B1','B2'); var oForm = document.forms[0];

Re: Javascript with DBI

2002-01-28 Thread Casey West
On Mon, Jan 28, 2002 at 08:21:44PM +0100, anthony wrote: : :does anyone know if Javascript can interact with dbi? :not mysql I think I can manage to tun this into a Perl related question. :-) There is a module called WDDX, actually, it's a protocol. You can use it to turn Perl data structures

Re: javascript-detail

2001-06-28 Thread Me
> LWP::UserAgent ... > javascripts on that webpage which I need to execute You are almost certainly not going to find an otherwise pure perl user agent that has a full dom understanding of the web pages it reads, and can invoke a dom-aware javascript interpreter. If you *do* find such a solutio

RE: javascript-detail

2001-06-28 Thread John Edwards
you could try downloading the javascript code from the server. If the code is in external files and added into the page like so You should be able to download the code by grabing the matching URL. E.g http://servername/code/script.js Running it within Perl is another matter entirely and I have

Re: javascript

2001-06-27 Thread Jos I. Boumans
;[EMAIL PROTECTED]> To: "Prachi Shroff" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, June 27, 2001 10:29 PM Subject: Re: javascript > > --- Prachi Shroff <[EMAIL PROTECTED]> wrote: > > > Can anyone please give any clue of how to call and execut

Re: javascript

2001-06-27 Thread Paul
--- Prachi Shroff <[EMAIL PROTECTED]> wrote: > Can anyone please give any clue of how to call and execute > javascripts from perl? Assuming you're writing web content, just print the script into the content as if you were wrting a normal HTML page. It'll run when the browser reads it just the s