User Profile

Collapse

Profile Sidebar

Collapse
stockton
stockton
Last Activity: Sep 1 '13, 09:08 AM
Joined: Jul 24 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • stockton
    started a topic HTML works but javascript fails with href

    HTML works but javascript fails with href

    I have javascript as follows
    Code:
    function newDoc()
        {
        window.location.href = "http://192.168.0.8/devit/logon.html";
        }
    If I call this function from my javascript as follows
    Code:
            newDoc();
    it fails but if called from HTML
    Code:
    <input type="button" nanme="SelectButton" id="SelectButton" value="Login"
    ...
    See more | Go to post

  • stockton
    started a topic HTML & Ajax not working as expected

    HTML & Ajax not working as expected

    Please tell me why the following html does not call the javascript submit_click() function.
    Code:
    <!DOCTYPE html>
    <html>
        <head>
        <title>Page Title</title>
        <meta name="viewport" content="width=device-width,initial-scale=1">
        <link rel="stylesheet" type="text/css" href="style/style.css"/>
        <script
    ...
    See more | Go to post

  • stockton
    started a topic Stored procedure incorrect?

    Stored procedure incorrect?

    I have written the following Stored Procedure and need input as to what could be wrong with my coding or is there a possibility that not getting the correct results is not in the procedure at all?
    Code:
    ALTER PROCEDURE spIssueScannedTickets
            @iEventID int,
            @MemberNum nvarchar(12),
            @BatchSize int,
            @FirstNumber nvarchar(12),
            @LastNumber nvarchar(12),
            @SlotsBalance
    ...
    See more | Go to post
    Last edited by stockton; Jul 31 '08, 12:24 PM. Reason: Remove blank lines in code

  • stockton
    started a topic Data not displaying
    in PHP

    Data not displaying

    Please tell me how I got the following wrong:-
    Code:
    <form name="GetTicket" id="GetTicket" method="post" action="Winner.php?Event="<?php echo $Event ?>">
    <table border="1" frame="box" cellpadding="3" align="center" width="300">
    
    <tr><td align=left>Ticket Number</td>
    <td colspan="2"
    ...
    See more | Go to post

  • Sorry Guys, These lines should have been before the insert & I have no idea why they are now appearing after the insert. The insert is dependant on that value being non zero.
    Therefore the code should read
    Code:
    ALTER PROCEDURE spIssueScannedTickets
    
    	@iEventID int,
    
    	@MemberNum nvarchar(12),
    
    	@BatchSize int,
    
    	@FirstNumber nvarchar(12),
    
    	@LastNumber nvarchar(12),
    ...
    See more | Go to post
    Last edited by stockton; Jul 24 '08, 12:18 PM. Reason: I got code wrong

    Leave a comment:


  • Stored Procedure to reliably update two tables.

    I have written the following Stored Procedure in an attempt to update two tables in the same database reliably but unfortunately it is not too successful. I ocassionaly end up with only the BundlesIssued tables updated and nothing in TicketsIssued.
    Please make suggestions on how I could make this stored procedure update both tables reliably.
    Code:
    ALTER PROCEDURE spIssueScannedTickets
            @iEventID int,
            @MemberNum
    ...
    See more | Go to post
No activity results to display
Show More
Working...