need help pressing a button within an embeded web page.
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: need help pressing a button within an embeded web page.

  1. #1
    Join Date
    Dec 2010
    Posts
    0

    need help pressing a button within an embeded web page.

    OK guys...I usually write simple web pages... however, im slightly in too deep on this one...even though you guys will think its a piece of cake.

    i have another page embeded within a web page of mine. There are two buttons on the page, that I would like to have 1 of which clicked. one is a flash button, the other has an ID tag associated with it.

    i would like to have a Java Onload event occur, however, since these buttons do not actually have links associated with them, i do not know if you can use the click function with them directly. If there is, i guess i would prefer that code first, but if not, is there a way to auto click a specific pixel on load?

    So the page loads, then loads the embedded page, then clicks the pixel, or causes the button to be auto pressed?

    these buttons are associated with a music player so essentially, i would like that music to start playing.

    any advice?

  2. #2
    Join Date
    May 2006
    Location
    UK
    Posts
    4,473

    Re: need help pressing a button within an embeded web page.

    Are you sure this is a Java problem, it sounds more like Javascript?
    Posting code? Use code tags like this: [code]...Your code here...[/code]
    Click here for examples of Java Code

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center