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.

~13.6K People Reached
Favorite Tags

8 Posted Topics

Member Avatar for Romil797

The only way I can think to do it would be to have it redirect if they DO have javascript, else they see the regular noscript page. Like so... [CODE] <script type="text/javascript"> window.onload = function { location.href='http://thejavascriptversion.com/page'; return true; } </script> [/CODE] That way if they don't have javascript they …

Member Avatar for Kelicula
0
90
Member Avatar for Kelicula

Ever had to fix auto-generated dates retrieved from MySql databases? I made a really quick fix that displays the date in "human readable" format. Just replace "CST" with GMT, or EST etc... Whatever time zone your mysql server is located. it takes one argument, the date from the database. [B]Usage:[/B] …

Member Avatar for Kelicula
0
219
Member Avatar for Kelicula

[B]Situation:[/B] Ever wanted to get the size of an image? Possibly to determine new height and width dimensions that DO NOT distort the proportion. Well I have, and I overcame the math like so. [B]Solution:[/B] First you must decide on an image width. The subroutine returns the proportional height equivalent. …

Member Avatar for Kelicula
0
167
Member Avatar for Kelicula

I need to include a "variable" in my regex that will be different each time it is called. Very fustrated, this would have taken 2 seconds in Perl. Here is my code: [code=javascript] for (y=0; y < response.length -1; y++){ var _row = response[y].split(':'); var str = "_row[1]"; if(str.match("/^"+_inputText.value+"/i")){ _responseText …

Member Avatar for itsjareds
0
13K
Member Avatar for Kelicula

Hi all, I am usually a Perl programmer, I have some background in javascript and am attempting to create a Googleish selector div. [I]Please bear with me, excuse the long introduction...[/I] Here's the details: Our site filters content by location. I use zip codes to find radius's. So if a …

Member Avatar for hielo
0
235
Member Avatar for poojapo

You would need to use Ajax. You can make a request to the server with javascript, and store the response in a javascript variable. The request could activate a perl script, located on the server.

Member Avatar for KevinADC
0
81
Member Avatar for navsaug

I'm not sure if I understand exactely what you need to do...But This may help. [code=perl] open(LOG, "path/to/logfile.log")|| die "Error: $!"; my @text; while(<LOG>){ if(/(\[.*\])/g){ push(@text, $1); } } close(LOG); [/code]

Member Avatar for katharnakh
0
81
Member Avatar for saswati_mishra

I know this will work. Use iframes. In the table that you want the new page to pop up (or into) place an iframe name it and you can now update it with javascript. Like this [code] <td><iframe name="theName"></iframe></td> [/code] the in the javascript: [code] document.all.theName.location="the separate html file to …

Member Avatar for Kelicula
0
92

The End.