Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

perl jquery script returns http status undefined sometimes

by sushmas.sharma (Initiate)
on Aug 21, 2012 at 21:20 UTC ( [id://988876]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       <script type="text/javascript" src="/xyz/jquery/js/jquery-1.7.1.min
    +.js"></script>
       <script type="text/javascript" src="/xyz/jquery/js/jquery-ui-1.8.17
    +.custom.min.js"></script>
    ...
    
    
    <input type="text" name="cn" id="cn" value="$cn" size="40" maxlength="
    +128" onClick="clearForm();" />
    
  2. or download this
    my @query_output;
    # LOOP THROUGH RESULTS
    ...
    my $json = JSON::to_json(\@query_output);
    &log("I am in search by name page looking for $inpstr  returning $json
    + ");
    print $json;
    
  3. or download this
    [17:08:56.206] GET http://server.xyz.com/xyz/cgi-bin/searchbyname.pl?t
    +erm=batt [HTTP/1.1 200 OK 375ms]
    [17:08:56.579] syntax error @ http://server.xyz.com/xyz/cgi-bin/search
    +byname.pl?term=batt:1
    [17:08:57.830] GET http://server.xyz.com/xyz/cgi-bin/searchbyname.pl?t
    +erm=batte [undefined 375ms]
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://988876]
Approved by davido
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (1)
As of 2024-04-25 00:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found