Cant link access database to html page

<html>
<head>
<title>ASCAM Winery Customers Database Application</title>
<Img height="350" width="175" style="float:left;" SRC="https://fbcdn-sphotos-e-a.akamaihd.net/hphotos-ak-xap1/v/t1.0-9/1538743_739414219404453_295536607_n.jpg?oh=44ac8ad664ec4c955320953ecc897abf&oe=546C928C&__gda__=1416231439_9f7ec10eb3a492796ca997745cd36163">
<Img height="350" width="175" style="float:right;" SRC="https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-xpf1/v/t1.0-9/10418140_272292502973344_2392827848855223574_n.jpg?oh=31ea8cfd238262ea38791e54fd894927&oe=5461E223&__gda__=1416653129_a039fc9ac8f3adcb4f4d220274565fad">
<SCRIPT Language="VBSCRIPT">
dim strCon
dim conn
dim rs
sub    Edit_OnClick()
rs.fields("ID") = SCAM.Name1.value
rs.Update
end sub
sub del_OnClick()
if not rs.eof and not rs.bof then
rs.Delete
rs.MoveNext
if not rs.eof then
SCAM.Name1.value=rs.fields("CustomerID")
SCAM.CustomerFirstName.value=rs.fields("CustomerFirstName")
SCAM.CustomerLastName.value=rs.fields("CustomerLastName")
SCAM.BillingAddress.value=rs.fields("BillingAddress")
       SCAM.EmailAddress.value=rs.fields("EmailAddress")
SCAM.City.value=rs.fields("City")
SCAM.State.value=rs.fields("State")
else
rs.MoveFirst
SCAM.Name1.value=rs.fields("CustomerID")
SCAM.CustomerFirstName.value=rs.fields("CustomerFirstName")
SCAM.CustomerLastName.value=rs.fields("CustomerLastName")
SCAM.BillingAddress.value=rs.fields("BillingAddress")
SCAM.EmailAddress.value=rs.fields("EmailAddress")
SCAM.City.value=rs.fields("City")
SCAM.State.value=rs.fields("State")
end if
end if
end sub
sub dbConn()
strCon="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Winery.mdb;
Persist Security Info=False"
Set Conn=CreateObject("ADODB.Connection")
Set rs=CreateObject("ADODB.recordset")
Conn.Open strCon
rs.ActiveConnection = conn
'rs.CursorLocation = adUseClient
'rs.CursorType = adOpenKeyset
rs.LockType = 2
rs.Source = "customer"
rs.Open
rs.MoveFirst
SCAM.Name1.value=rs.fields("CustomerID")
SCAM.CustomerFirstName.value=rs.fields("CustomerFirstName")
SCAM.CustomerLastName.value=rs.fields("CustomerLastName")
SCAM.BillingAddress.value=rs.fields("BillingAddress")
SCAM.EmailAddress.value=rs.fields("EmailAddress")
SCAM.City.value=rs.fields("City")
SCAM.State.value=rs.fields("State")
end sub
sub MoveNext_Onclick()
if not rs.eof then
rs.MoveNext
if not rs.eof then
SCAM.Name1.value=rs.fields("CustomerID")
SCAM.CustomerFirstName.value=rs.fields("CustomerFirstName")
SCAM.CustomerLastName.value=rs.fields("CustomerLastName")
SCAM.BillingAddress.value=rs.fields("BillingAddress")
SCAM.EmailAddress.value=rs.fields("EmailAddress")
SCAM.City.value=rs.fields("City")
SCAM.State.value=rs.fields("State")
end if
end if
end sub
sub MovePrev_Onclick()
if not rs.bof then
rs.MovePrevious
if not rs.bof then
SCAM.Name1.value=rs.fields("CustomerID")
SCAM.CustomerFirstName.value=rs.fields("CustomerFirstName")
SCAM.CustomerLastName.value=rs.fields("CustomerLastName")
SCAM.BillingAddress.value=rs.fields("BillingAddress")
SCAM.EmailAddress.value=rs.fields("EmailAddress")
SCAM.City.value=rs.fields("City")
SCAM.State.value=rs.fields("State")
end if
end if
end sub
sub AddNew_Onclick()
rs.AddNew
rs.fields("CustomerID")=SCAM.Name1.value
rs.fields("CustomerFirstName")=SCAM.CustomerFirstName.value
rs.fields("CustomerLastName")=SCAM.CustomerLastName.value
rs.fields("BillingAddress")=SCAM.BillingAddress.value
rs.fields("EmailAddress")=SCAM.EmailAddress.value
rs.fields("City")=SCAM.City.value
rs.fields("State")=SCAM.State.value
rs.Update
end sub
sub Search()
SCAM.CustomerFirstName.value=""
SCAM.CustomerLastName.value=""
SCAM.BillingAddress.value=""
SCAM.EmailAddress.value=""
SCAM.City.value=""
SCAM.State.value=""
rs.MoveFirst()
do while not rs.eof
if rs.fields("CustomerID") = int(SCAM.Name1.value) then
SCAM.Name1.value=rs.fields("CustomerID")
SCAM.CustomerFirstName.value=rs.fields("CustomerFirstName")
SCAM.CustomerLastName.value=rs.fields("CustomerLastName")
SCAM.BillingAddress.value=rs.fields("BillingAddress")
SCAM.EmailAddress.value=rs.fields("EmailAddress")
SCAM.City.value=rs.fields("City")
SCAM.State.value=rs.fields("State")
end if
rs.MoveNext()
loop
end sub
</script>
<BODY onLoad="dbConn()">
<FORM NAME="SCAM" Method="Post">
<Center><h3>ASCAM Winery Customers Database Connection</h3>
<TABLE border="0" cellpadding="2" cellspacing="2">
<tr>
<td>
Customer ID
</td>
<td>
<INPUT TYPE="TEXT" NAME="Name1">
</td>
</tr>
<TR>
    <TD>
   First Name
    </TD>
    <TD>
   <INPUT type="text" name="CustomerFirstName">
    </TD>
</TR>
<TR>
    <TD>
   Last Name
    </TD>
    <TD>
   <INPUT type="text" name="CustomerLastName">
    </TD>
</TR>
<TR>
    <TD>
   Email
    </TD>
    <TD>
   <INPUT type="text" name="EmailAddress">
    </TD>
</TR>
<TR>
    <TD>
   Phone
    </TD>
    <TD>
   <INPUT type="text" name="Phone">
    </TD>
</TR>
<TR>
    <TD>
   Fax
    </TD>
    <TD>
   <INPUT type="text" name="FaxNumber">
    </TD>
</TR>
<TR>
    <TD>
    Address
    </TD>
    <TD>
   <INPUT type="text" name="BillingAddress">
    </TD>
</TR>
<TR>
    <TD>
   City
    </TD>
    <TD>
   <INPUT type="text" name="City">
    </TD>
</TR>
<TR>
    <TD>
   State
    </TD>
    <TD>
   <INPUT type="text" name="State">
    </TD>
</TR>
<TR>
    <TD>
   Zip Code
    </TD>
    <TD>
   <INPUT type="text" name="ZipCode">
    </TD>
</TR>
   </TD>
</TR>
<tr>
<table>
<td>
<INPUT TYPE=BUTTON name="AddNew" value="Add">
<INPUT TYPE=BUTTON name="MoveNext" value="Move Next">
<INPUT TYPE=BUTTON name="MovePrev" value="Move Previous">
<input type="button" value="Search" onClick="Search()">
<input type="reset" value="Reset" onClick = "location.reload();">
<INPUT TYPE=BUTTON name="del" value="Delete"><br>
</tr></td></table>
</form>
<SCRIPT LANGUAGE="JavaScript">
var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
document.write("<large><font color='000000' face='Chiller'><b>"+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+"</b></font></small>")
</SCRIPT>
</head>
</body></html>
What am i doing wrong?

Here is a restructure and removal of some crap.
Local HTML pages are not allowed to access files.  Use an HTA extension to allow the HTML to access your files.
Here is  fixer.  Spnd some time learning HTNL and DHTML.  Go to W3Schools.com
<html>
<head>
<title>ASCAM Winery Customers Database Application</title>
<script Language="VBSCRIPT">
dim strCon
dim conn
dim rs
Sub window_onload()
dbConn
End Sub
sub Edit_OnClick()
rs.fields("ID") = SCAM.Name1.value
rs.Update
end Sub
sub del_OnClick()
if not rs.eof and not rs.bof then
rs.Delete
rs.MoveNext
if not rs.eof then
SCAM.Name1.value=rs.fields("CustomerID")
SCAM.CustomerFirstName.value=rs.fields("CustomerFirstName")
SCAM.CustomerLastName.value=rs.fields("CustomerLastName")
SCAM.BillingAddress.value=rs.fields("BillingAddress")
SCAM.EmailAddress.value=rs.fields("EmailAddress")
SCAM.City.value=rs.fields("City")
SCAM.State.value=rs.fields("State")
else
rs.MoveFirst
SCAM.Name1.value=rs.fields("CustomerID")
SCAM.CustomerFirstName.value=rs.fields("CustomerFirstName")
SCAM.CustomerLastName.value=rs.fields("CustomerLastName")
SCAM.BillingAddress.value=rs.fields("BillingAddress")
SCAM.EmailAddress.value=rs.fields("EmailAddress")
SCAM.City.value=rs.fields("City")
SCAM.State.value=rs.fields("State")
end if
end If
end Sub
sub dbConn()
strCon="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Winery.mdb; Persist Security Info=False"
Set Conn=CreateObject("ADODB.Connection")
Set rs=CreateObject("ADODB.recordset")
Conn.Open strCon
rs.ActiveConnection = conn
rs.LockType = 2
rs.Source = "customer"
rs.Open
rs.MoveFirst
SCAM.Name1.value=rs.fields("CustomerID")
SCAM.CustomerFirstName.value=rs.fields("CustomerFirstName")
SCAM.CustomerLastName.value=rs.fields("CustomerLastName")
SCAM.BillingAddress.value=rs.fields("BillingAddress")
SCAM.EmailAddress.value=rs.fields("EmailAddress")
SCAM.City.value=rs.fields("City")
SCAM.State.value=rs.fields("State")
end Sub
sub MoveNext_Onclick()
if not rs.eof then
rs.MoveNext
if not rs.eof then
SCAM.Name1.value=rs.fields("CustomerID")
SCAM.CustomerFirstName.value=rs.fields("CustomerFirstName")
SCAM.CustomerLastName.value=rs.fields("CustomerLastName")
SCAM.BillingAddress.value=rs.fields("BillingAddress")
SCAM.EmailAddress.value=rs.fields("EmailAddress")
SCAM.City.value=rs.fields("City")
SCAM.State.value=rs.fields("State")
end if
end if
end sub
sub MovePrev_Onclick()
if not rs.bof then
rs.MovePrevious
if not rs.bof then
SCAM.Name1.value=rs.fields("CustomerID")
SCAM.CustomerFirstName.value=rs.fields("CustomerFirstName")
SCAM.CustomerLastName.value=rs.fields("CustomerLastName")
SCAM.BillingAddress.value=rs.fields("BillingAddress")
SCAM.EmailAddress.value=rs.fields("EmailAddress")
SCAM.City.value=rs.fields("City")
SCAM.State.value=rs.fields("State")
end if
end if
end sub
sub AddNew_Onclick()
rs.AddNew
rs.fields("CustomerID")=SCAM.Name1.value
rs.fields("CustomerFirstName")=SCAM.CustomerFirstName.value
rs.fields("CustomerLastName")=SCAM.CustomerLastName.value
rs.fields("BillingAddress")=SCAM.BillingAddress.value
rs.fields("EmailAddress")=SCAM.EmailAddress.value
rs.fields("City")=SCAM.City.value
rs.fields("State")=SCAM.State.value
rs.Update
end Sub
sub Search()
SCAM.CustomerFirstName.value=""
SCAM.CustomerLastName.value=""
SCAM.BillingAddress.value=""
SCAM.EmailAddress.value=""
SCAM.City.value=""
SCAM.State.value=""
rs.MoveFirst()
do while not rs.eof
if rs.fields("CustomerID") = int(SCAM.Name1.value) then
SCAM.Name1.value=rs.fields("CustomerID")
SCAM.CustomerFirstName.value=rs.fields("CustomerFirstName")
SCAM.CustomerLastName.value=rs.fields("CustomerLastName")
SCAM.BillingAddress.value=rs.fields("BillingAddress")
SCAM.EmailAddress.value=rs.fields("EmailAddress")
SCAM.City.value=rs.fields("City")
SCAM.State.value=rs.fields("State")
end if
rs.MoveNext()
loop
end Sub
</script>
</head>
<body>
<center><h3>ASCAM Winery Customers Database Connection</h3></center>
<form NAME="SCAM" Method="Post">
<Img height="350" width="175" style="float:left;" SRC="https://fbcdn-sphotos-e-a.akamaihd.net/hphotos-ak-xap1/v/t1.0-9/1538743_739414219404453_295536607_n.jpg?oh=44ac8ad664ec4c955320953ecc897abf&oe=546C928C&__gda__=1416231439_9f7ec10eb3a492796ca997745cd36163">
<Img height="350" width="175" style="float:right;" SRC="https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-xpf1/v/t1.0-9/10418140_272292502973344_2392827848855223574_n.jpg?oh=31ea8cfd238262ea38791e54fd894927&oe=5461E223&__gda__=1416653129_a039fc9ac8f3adcb4f4d220274565fad">
<table border="0" cellpadding="2" cellspacing="2">
<tr><td>Customer ID</td><td><input TYPE="TEXT" NAME="Name1"></td></tr>
<tr><td>First Name</td><td><input type="text" name="CustomerFirstName"></td></tr>
<tr><td>Last Name</td><td><input type="text" name="CustomerLastName"></td></tr>
<tr><td>Email</td><td><input type="text" name="EmailAddress"></td></tr>
<tr><td>Phone</td><td><input type="text" name="Phone"></td></tr>
<tr><td>Fax</td><td><input type="text" name="FaxNumber"></td></tr>
<tr><td>Address</td><td><input type="text" name="BillingAddress"></td></tr>
<tr><td>City</td><td><input type="text" name="City"></td></tr>
<tr><td>State</td><td><input type="text" name="State"></td></tr>
<tr><td>Zip Code</td> <td><input type="text" name="ZipCode"></td></tr>
</td>
</tr>
<tr>
<table>
<tr>
<td>
<input TYPE="button" name="AddNew" value="Add">
<input TYPE="button" name="MoveNext" value="Move Next">
<input TYPE="button" name="MovePrev" value="Move Previous">
<input type="button" value="Search" onClick="Search">
<input type="reset" value="Reset" onClick="">
<input TYPE="button" name="del" value="Delete"><br>
</td>
</tr>
</table>
</form>
</body>
</html>
¯\_(ツ)_/¯

Similar Messages

  • Link button to local html page using AS3

    I am using AS3 and having trouble linking a button to a local html page

    Okay, I tried both of the codes and it is still now working.
    navigateToURL(new URLRequest("file:///fishcom/Home.html"));
    I get a Windows dialog box that states that the path can not be found.
    navigateToURL(new URLRequest("./fishcom/Home.html"));
    This goes to http://./fishcom/Home.html  but not my page.
    The Flash file and the HTML page are in the fishcom folder on my desktop. Very frustrating because this was so easy in AS2. 

  • Link Edge animation to HTML page?

    Is there a way to link my Edge animation to an Index HTML page in the same folder as the Edge.HTML? I linked a webpage with the OpenURL trigger and it worked. But I would like to link it to the index page within the same folder so that I can test it before uploading it to the internet.
    The trigger link that worked is:
    window.open("http://www.mywebsite.com", "_self");
    But can I use something like:
    window.open("index.com", "_self");
    Thanks,
    Susan

    Susan-
    You don't need the sitename - just use this (assuming you are calling it from the same directory as you said):
    window.open("index.html", "_self");
    Else, you should be able to use this if it one folder deep:
    window.open("../index.html", "_self");
    James

  • I have somehow got Ask toolbar& software and now cant,t access my google home page. I tried to uninstall it but it did not un install. How can I get rid of this so I can get back to firefox & google?

    I have somehow got ASK toolbar & software installed and it has taken over my browser. I can not get my home page to come up. I tried to uninstall it but it still takes control of my browser. How can I get this removed?

    https://support.mozilla.org/en-US/kb/fix-problems-your-home-page-or-search?redirectlocale=en-US&redirectslug=removing-babylon-searchqu-or-mystart has a link to articles to help you out

  • Linking Report 6i wth html page

    Dear all,
    I have a website from which a simple search of employee contact is done. The result of the search is displayed by oracle report 6i. I dont know how to link a simple website developed in html with a report 6i.
    The report has a parameter, first name. The reports displays all employees with that name passed as a parameter with their contacts.
    Please anyone to assist me

    Please use one thread

  • How to insert a streaming audio file/link into a basic HTML page?

    I am a novice webmaster managing the website for our arts organization.  I am trying to build a simple table on a page of our site that will have about 30 streaming MP3 audio clips for our members to review.  I'm using Amazon CloudFront and Amazon S3 to host and stream these files (using an embedded JW Player?).  Can someone explain to me how to insert these media files into my Dreamweaver page in the most simple way? 
    Up until now, I've been just inserting downloadable MP3 files as quicktime plugins (also hosted at Amazon S3) but with 30 files that gets pretty cumbersome because they all begin to progressive download at the same time. 
    Thank you.

    I simply want a basic playlist for  MP3 files.  What is the type of playlist I want in that case? 
    XML would work.
    http://www.longtailvideo.com/support/forums/jw-player/setup-issues-and-embedding/5768/how- to-embed-jw-player-with-an-xml-mp3-playlist
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • How link from html page to a specific frame in flash cs5 as3

    Hi!
    I'm kinda new around here. I am interested in knowing how to link from a specific html page to a specific frame in flash cs5 as3.
    I have a website that I originally began to design in flash but later started developing new pages for it in html. The flash part of it has several pages on different frames and I have created links from the flash part to the other html pages, but, I can only link the html pages back to the main flash home page, and not the other pages in the flash part of the website.
    I have read that in cs3 it was possible using the flashvars skip variable, but I don't know how to do it. I have not yet seen any working examples and I could not find any instructions / tutorials online for cs5.
    Can someone help here?

    add a query string, to the swf's embedding html, with variable/value indicating the frame you want to display in your swf.  add a javascript function to return the query string (or entire url), call the javascript function from flash using the externalinterface class.  and finally add code to your swf to parse the returned url or query string, parse it and then direct your timeline to the appropriate frame.

  • How to go to anchor html link from external html page in JEditorPane

    Hi people,
    I've been trying to jump to an anchor link from an external html page in JEditorPane, and I cannot get it working, I'm sure it can be done somehow...
    The HTML page has a link like:
    Hello
    and this is loaded into JEditorPane ok.
    The HyperlinkListener implementation:
    public void hyperlinkUpdate( HyperlinkEvent e )
    try {
    if ( e.getEventType() == HyperlinkEvent.EventType.ACTIVATED )
    editorPane_.setPage( getClass().getResource(
    MyDialog.this.getBaseURL().concat( e.getURL().getFile().substring(
    e.getURL().getFile().lastIndexOf( "/" ) + 1 ) ) ) );
    if ( e.getURL().getRef() != null )
    editorPane_.scrollToReference( e.getURL().getRef() );
    else return;
    } catch ( IOException ioe ) { ioe.printStackTrace(); }
    This code loads the new html file ok, but it does not scroll to the anchor. The MyDialog.this.getBaseURL() just returns something like com.name.package, I construct the URL by using this base url and the name of the html file to open.
    ANy help, thanks

    he! I'm not alone in my desperation. Take a look at my problem:
    I've got a JEditorPane (not editable) inside a JFrame. The JEditorPane is loaded with the HTML text and all the links to anchors are working properly when I click on them.
    BUT
    If I try to go to an anchor from outside this JFrame I can see how the JEditorPane scrolls to the right anchor and suddenly it scrolls back to the place where the caret was located!!!
    The "funny thing" is that my code is working in jdk1.3.1 but this is happening in jdk1.4.2. Is it a bug?!?!?!
    How could I figure out what position I have to set the caret to for every anchor in order to get the scroll working correctly???
    My implementation of hyperlinkUpdate (working properly, here isn't the problem):
       jEditorPane.addHyperlinkListener(new HyperlinkListener() {
          public void hyperlinkUpdate(HyperlinkEvent e) {
            if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
              MiEditorPane src = (MiEditorPane)e.getSource();
              src.goToAnchor(e.getDescription().substring(1));
        });My object jEditorPane is an instance of this class:
      class MiEditorPane extends JEditorPane {
        MiEditorPane() {
          super();
        public void goToAnchor(String anchor) {
          super.scrollToReference(anchor);
      }And this is the method I call from outside the JFrame containing the JEditorPane:
      public void goToAnchor(String anchor) {
         jEditorPane.goToAnchor(anchor);
      }Any help greatly appreciated ...

  • Can't Create Connection to one particular html page.

    I have a Contribute user in my company who can edit all pages in Contribute except one particular html page.  Every time she visits that one page she is prompted to.  Her permissions are fine, she hass access to that html page and the folder containing that and many other html pages.  She experiencies no issues with other html pages contained in that same, or any other, folder. 
    I have tried to edit this one page myself without any issues.  I have tested it out with other Contribute users and found no issues.  I even had our IT people take a look at her machine, and there was no issue.

    I have a Contribute user in my company who can edit all pages in Contribute except one particular html page. Every time she visits that
         one page she is prompted to 'Create Connection'.  Her permissions are fine, she has access to that html page and the folder containing that and many other html pages.   She experiencies no issues with other html pages contained in that same, or any other, folder. I have tried to edit this one page myself without
    any issues. I have tested it out with other Contribute users and found no issues. I even had our IT people take a look at her machine, and there was
    no issue.
    Any suggestions?

  • SAP PBO Variable values  to ITS HTML Page

    Hi,
    We are upgrading from Standalone ITS to Integrated ITS ( SAP ECC6.0) , In Standalone ITS we used Function module: WSRS_ITS_CONTEXT_APPEND to access the multiple HTML pages but in Integrated ITS it is not working .
    Please suggest any solutions ..
    Thanks,
    Naveen

    Hi Chris,
    I am populating the Internal table with "Vendor id & Description" and i want to populate these values at HTML page dropdown.
    This is happening at Standalone but the FM is not working at Integrated ITS.
    Thanks,
    Naveen

  • Can not edit one particular HTML page

    I would like someone from Adobe to reply to this issue:
    I have a Contribute user in my company who can edit all pages in Contribute with the exception of one particular html page.  Every time she visits that one page she is prompted to 'Create Connection'.  Her permissions are fine, she hass access to that html page and the folder containing that and many other html pages.  She experiencies no issues with other html pages, nor is she ever prompted to 'Create Connection' on any other of out html pages.
    I have tried to edit this one page myself without any issues.  I have tested it out with other Contribute users and found no issues.  I even had our IT people take a look at her machine, and there was no issue.
    Please offer some solutions.

    She is using Windows 7 and CS5,  and has a customized role.
    I have confirmed that other users of the same role and are not facing this particular issue. We tried using Contribute in another machine connecting and editing the same page and are not experiencing this particular issue.
    Thank you.
    Aurelio Zappia
    Nelson Education Ltd.
    1120 Birchmount Road, Toronto, ON, Canada M1K 5G4
    Tel: 416-752-9100 Ext 4421
    [email protected]

  • Calling Webstart without interrupting HTML page flow

    I am trying to invoke a JNLP link without interrupting
    the HTML page flow. So on my first page i want to click
    a link, which will invoke JNLP and will display the second
    page, which says something like 'Starting..' and invokes
    the 3rd page. The 3rd page keeps waiting on the app server
    until the JWS app has logged in an than displays 'Logged In'.
    I already managed the above by adding to the second page
    <script>
    open("xyz.com/xyz.jnlp","_blank");
    </script>However I don't like that solution because it pops up a new window that will close asap, but causes unwanted flickering.
    Any ideas?
    Cheers,
    rio

    So, you want to submit an http request when an html element is clicked, and have the response be filled into a container on the page? This type of thing falls under the blanket of Ajax. There are a million Ajax implementations that can do this for you.
    For instance, if you were using the prototype library, you would use the [Ajax.Updater|http://www.prototypejs.org/api/ajax/updater] javascript call. Then you could write something like <input type="radio" id="customerInfo" onclick="update(this.id)" />, and call your javascript update function. Any ajax library should know how to construct an xmlHttpRequest object, post it, and get the response back in some way you can use programatically.
    How the web server generates the response (servlet or otherwise) is irrelevant. If this is new ground for you, you will want to read up on Ajax technologies, the xmlHttpRequest object, and javascript.

  • FIREFOX 26 changed the 'post crash' page with the list of windows and pages. It was a real HTML page with links for each page. Now it isn't (and blows)

    * You changed the page that comes up after a crash - the one which shows the windows and pages that were up before the
    crash.
    This used to be a real HTML page and it isn't any more. THis choice was pure isiocy consider how peopel used that page every day (try taking to your users for a change).
    The pages listed on that 'post crash page' used to be actual LINKS (you could right click them &
    manually open them in another tab - and most peope DID that every day). You could also (and I did this a lot) drag a second
    copy of the page, into a new tab (to keep track of all the pages I had not wanted to open)
    Now the pages are no longer links. You cannot right-click them.
    The thing in the probser is no longer a page that I can drag into a new tab.
    Roll the version back and throw this one in the bin...and have a good long talk with your developers about the definition of
    'STUPIDITIY'
    Then I try to type anything in the addres bar it is suppose to repoond with the history of old things I have types in the past, or
    search for what I type (and in some cases I think it tyes to convert it intoa URL). However it no longer does any of these
    things. When I type in the ADDRESS BAR ONLY, I do not get all of my letters to appear. I have to type into a notepad or
    into the search and to copy and paste to go to a URL. Nothing that is typed into the address bad responds normally at all
    anymore, and I am fairly certain there are no new addons on this machine at all. It does not matter which things I disable. It
    still does this. W of course points the finger back at a change to FIREFOX. I wich I could just sitct with one stable release
    forever but the MOZILLA folk thing it is best to force peopel awy from a working broswer release to a horrible one (due to it
    being out of date).
    FIREFOX 26.0 has 'issues' (ie new *features*/bugs)
    1) History is no longer accurate. My Proof? This machine is the primary one for the entire family (the only PC working). It is
    logged in with same user every time and never has its history cleared. It now January 7 so I ought to have a list of all of last
    months browing available to me.
    However, according to FIREFOX history, in all of December 2013, the entire family only went to 51 primary URL's. None of
    the official TV sites I use to get episodes are listed. None of the official movie sites I use are listed. The primary URL for
    ebay is not listed. Only 1 out of our 4 weather sites that I use (at least once a week) are listed. Only 1 of our 3 FINANCE
    sites is listed. There ought to be several; hundred root URLs listed.
    Please fix history as this change seriously "blows greasy chunks"
    PROBLEM (a stupid change in the new FIREFOX version)
    FOr a long time, after a crash you got a useful page (a real HTML page) which gave you a list of all of your last sessions
    'winwos and tabs' that were open when the browser crashed. there were certain ways of using this page that are no longer
    able to be done.
    The old method was wonderful as it had this behavior :
    *** The old method for displaying your 'Recovered Tabs' allowed you to :
    a) right click an individual item and open it in a tab without getting rid of that lovely window of your previous session of
    'recovered windows and tabs '.
    2) drag the URL for the entire window of 'recovered windows and tabs ' to a new tab (to make a second copy) so that you
    could select just a few of them to open as a group, and stil have the old list handy.
    You can no longer do either of these things. The 'recovered windows and tabs ' page no longer has links in it and can no longer be dragged, so you cant select a few of them to use, and keep the rest around for later. NOW - once you choose which pages to open the window is gone forever (can can't get a second copy).
    People used to make a copy of the page for later use (with a drag)
    we also used to open pages with a right click (which no longer functions
    This new method seriously blows big greasy chunks. A parge loss in function has occurred.
    Put things back as they were. 26 is full of terrible changes that NOBODY likes. It also has a lot of bugs (history is not reliable at all)

    (1) Firefox's built-in post-crash page has not been a real HTML page for a long time (for example, from the time of Firefox 22, see: [https://support.mozilla.org/en-US/questions/968212 Want to save LOTS of versions of "Restore Session.xht" from the "oops ..." page for later use]). If you had this working differently with Firefox 25, that might have been created by an extension.
    You can check to see whether extensions are disabled or need an update on the Add-ons page. Either:
    * Ctrl+Shift+a
    * orange Firefox button (or Tools menu) > Add-ons
    In the left column, click Extensions. The disabled extensions cluster toward the bottom of the list. To poll for updates, use the "gear" button above the list and choose Check for Updates.
    If you used the Reset feature (or Firefox automatically did a reset due to some problem during upgrading), you will need to reinstall missing extensions. The reset feature creates a folder on the desktop named Old Firefox Data. Do you have that folder? There may be data you can recover from it.
    (2) There are many ways for history to get cleared, both internal to Firefox and external. Could you double-check your Privacy settings?
    orange Firefox button (or Tools menu) > Options > Privacy
    * The "Firefox will" drop-down says Remember History: Firefox shouldn't be clearing history, but an add-on or external software could do it
    * The "Firefox will" drop-down says Use custom settings for history: inspect the "Clear history when Firefox closes" setting to make Firefox isn't set to clear history. Also check your add-ons and consider external software.
    Firefox normally accumulates months of history. However, some of Firefox's database sizes are based on disk space available. If your hard drive is very full, Firefox might reduce the amount of history stored.

  • Access database using Java from HTML webpage

    Hi,
    I've got to create some online maths tests to be taken by students with their marks being stored in a database.
    I've wrote some simple java code which can add/remove and modify entries in a test mySQL database that I made. What I now need to do is be able to add entries to the database from a html page.
    The math tests will be java applets with the students having to interact according to questions, press submit and their score will be output. The score will then be entered into the database.
    The problem I'm having is that with an Applet their are all sorts of security issues (I'm having problems getting images to load in an Applet) so assume I'll face the same security issues when I try to access a database through an applet.
    So, could someone please help get started.
    Cheers

    MVC - I assume you mean model-view-control and not Marvel vs Capcom :)
    If so then does this mean I should completely seperate the user interface (the actual applets that will contain the test), the database (that will store the results) and the link between the two?
    is it possible to acheive this using Java, Java Applets, Java Script and the database (in my case mySQL) and could you give me some tips on how best to tackle the problem.
    Thanks

  • XE database home page link goes to APEX home page after 3.2 upgrade

    Hi - I had Oracle XE running on Win XP all OK.
    Taking the Database home page link took me to http://127.0.0.1:8080/apex/f?p=4550: etc etc BUT it took me to the XE login page which we use for system administration - all good so far.
    I then upgraded (sucessfully) the installed APEX (V2.1) which comes with XE to the new V3.2 version.
    All went well BUT the url above takes me to APEX login page and I can't get to XE adminstration.
    Any ideas or clues how I should upgrade to keep both login pages available ?
    Regards Dave Lee

    davejlee wrote:
    All went well BUT the url above takes me to APEX login page and I can't get to XE adminstration.
    I'm not sure what you mean with this?
    In APEX Upgrade guide are listed 'Database Management Differences between Oracle APEX 2.1 and 3.2'
    http://www.oracle.com/technology/products/database/application_express/html/3.2_and_xe.html

Maybe you are looking for