Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Deleted
  • Content: Threads
  • Order by date
  1. Deleted

    Dynamic form 'name'

    Trying to get the field value to be dynamic. Any help much appreciated. function update(name, value) { window.opener.document.my_form.field[name].value = value; }
  2. Deleted

    Nested functions with explicit returns

    Haven't seen much info on this. Basically I am nested several functions that will return a final result. Any consequences of doing it this way? Performance? I have not see any examples like so. I understand perl is flexible. But in many cases 'flexible' doesn't mean correct. Example: my...
  3. Deleted

    Globalizing an event in IE.

    I really hate IE.. Their support of the DOM truely sucks. Trying to globalize the window.event so I can keep the functions seperate from each other. Anyone know why this doesn't work? or a CLEAN solution? <script type="text/javascript"> //<![CDATA[ load the calendar using the XML object var...
  4. Deleted

    Sorting an associative array

    O.K. I have this code.. var capitals = new Array(); capitals("New Delhi") = "India"; capitals("Beijing") = "China"; capitals("London") = "Britain"; capitals("Paris") = "France"; var s_capitals = new Array("New Delhi", "Beijing", "London", "Paris"); s_capitals.sort(); for(i = 0; i <...
  5. Deleted

    &lt;IFRAME&gt; CONTENT TO &lt;TEXTAREA&gt;

    O.K. Here is the code I have.. The content of the <iframe> even though it exists doesn't return squat. Any help on this would be most excellent. <textarea name="content" style="height:250;width:448"></textarea> <iframe id="hidden" style="height:30;width:100"...
  6. Deleted

    MySQL DATE_FORMAT()

    Got a problem with query output using perl my $query = "SELECT id, handle, DATE_FORMAT(insert_date, '%l:%i:%S %p') FROM session ORDER BY insert_date"; my $sth = $dbh->prepare($query); $sth->execute; my $data = $sth->fetchrow_hashref; print "$data->{insert_date}"; The issue is that when I...
  7. Deleted

    MySql DATE_FORMAT() issues

    Got a problem with query output my $query = "SELECT id, handle, DATE_FORMAT(insert_date, '%l:%i:%S %p') FROM session ORDER BY insert_date"; my $sth = $dbh->prepare($query); $sth->execute; my $data = $sth->fetchrow_hashref; print "$data->{insert_date}"; The issue is that when I query the...
  8. Deleted

    Forcing radio selections

    Hello all, Been puling my hair out regarding this. Maybe someone can help me with this. Basically I have a form: <form name="this_form"> Item A<br> <input type="radio" name="pick1" value="1"> 1<br> <input type="radio" name="pick1" value="2"> 2<br> <input type="radio" name="pick1"...
  9. Deleted

    Wierd behavior

    Basically I have this script that when the page loads random html in the page disappears. Example: <input type="hidden" nme="blah" value="again"> Fails when it shouldn't: <script language="javascript"> <!--// function changeDir(parent) { var d = document.this_form...
  10. Deleted

    Global Variables and MOD_PERL Advice

    Built several classes in OO perl that require the 'Exporter' to globalize common methods as a hashref for use within several classes. MyStuff.pm MyStuff/A.pm MyStuff/B.pm index.cgi accesses method from the A.pm and B.pm classes. MyStuff.pm is the base class accessed by the A.pm and B.pm. It...
  11. Deleted

    CELKO'S NESTED TREE SET

    Just made the move from using the adjacency list model (id, parent) to using the nested set model (id, lft, rgt). Currently running MySQL 4.17 My goal is to create a virtual directory. The question I have is: Is it possible to limit the results of a SELECT to only return the next level in...
  12. Deleted

    Regex on the Command Line

    This works as a script but fails on the command line Any suggestions? perl -pi -e "s/\'win\',\'width=(.*),height=(.*)\'\);/\'win\',\'width=$1,height=$2,resizable=1,scrollbars=1\'\);/gi" *htm What is in bold fails http://unixjunky.com
  13. Deleted

    Script help!

    Hello all, I have written this javascript below. What the script does is checks the quantity entered by the user (on the fly) and compares the input to the increments required. 1 thru 47 *must order increments of 2 48 - 96 *must order increments of 48 96++ *must order in increments of...
  14. Deleted

    Extracting javascript from a string

    I am looking to extract javascript's from a string like the example below. I know there are several modules out there that will do this, but this is not an option for me. my $variable = qq| <html> <head> <title>test</title> <script language="javascript"> alert('welcome'); </script> <script...
  15. Deleted

    Removing a javascript

    Need to remove the javascripts from the html example below and assign them (javascript's) to a variable to be processed later on. Thanks in advance.. [EXAMPLE] <html> <head> <title>test</title> <script language="javascript"> alert('welcome'); </script> <script language="javascript">...
  16. Deleted

    REGEX CHALLENGE

    Is it possible to REGEX (search & replace with nothing) a pattern by letter order.. The pattern would be the word 'script' either split by characters or spaces. Also the data is in a single string. But could be written in different ways.. document.write('<' + 's' + 'c' + 'r' + 'i' + 'p' + 't'...
  17. Deleted

    B2B B2C Ecommerce

    Anyone know of any good (and I mean good) B2B/B2C shopping carts available? M. Brooks X Concepts LLC http://xconcepts.com
  18. Deleted

    Accounting Software

    I know this is a little off topic.. I am looking for an 'open source' solution that measures up to the functionality of the MAS 90/200 Business accounting system. Any suggestions are greatly appreciated.. Thanks for your time.. M. Brooks X Concepts LLC http://xconcepts.com
  19. Deleted

    Business Accounting Software

    I know this is a little off topic.. I am looking for an 'open source' solution that measures up to the functionality of the MAS 90/200 Business accounting system. Any sugestions are greatly appreciated.. M. Brooks X Concepts LLC http://xconcepts.com
  20. Deleted

    Sorting the contents of an array of hashes

    I need to sort the contents of an array of hashes by 'distance'.. I have attached the code below. ----------------------------------------------------------- # Get the list of stores by zip my $select = "SELECT * FROM stores ORDER BY store_id DESC"; my $db_data = $lib->sql_arrayref($select)...

Part and Inventory Search

Back
Top