Binding a button in the "index.html" page to a Javascript .js file via Mobile JQuery

I'm unable to bind an event to a button in the index.html file, without calling onclick("eventHandler") within the button element.  Please note that the event handler was declared in a seperate .js file and included in the index.html file. 

Not enough information.  Can we see your code or a link to your online test page?
Nancy O.

Similar Messages

  • How to add an extra page to the index.html page on dreamweaver CS6?

    How to add an extra page to the index.html page on dreamweaver CS6?

    Index.html = your domain's home page.  There is only one home page per site.
    To create a new page from your index, go to File > SaveAs > filename.html.  Repeat for other site pages.  Add links on your index page that lead to other site pages.
    See  Creating your first web site in DW CC (5-part tutorial)
    https://helpx.adobe.com/dreamweaver/learn/tutorials/how-to/first-website-part1.html
    Nancy O.

  • Lost the "Over" stste of my buttons on my index.html page only.

    I must have done something to my button set on my home page for www.carpenterslocal19.org
    because on mouseover I don't get the "Over" state.  The buttons still function as hypelinks but no change to the over state.
    All the other pages are okay, just index.html and index.htm.

    Hi Joe -
    That extra line break in your code is still present on the server.
    I it were my page, the time it takes to prowl through every character in the code is not worth it.
    I would make a copy.of a working page, correct the title tag, cut and paste only the content table from
    the troubled page into the new page.
    If that's not clear, you may call me at 914-941-3616

  • Modify the index.html to another page

    Is there a way to change the index.html page (always the first to the left in plan mode) to another page?
    I want the Home to be the index because I have a graphic instead of text so each time people click on the link there are redirected to the home page.
    Basicaly you can have a better understanding is you go here http://seventhsensetheband.com/ I want the center button to be my index.html.
    Thank you in advance.

    Create a manual menu and add the links yourself. For an automatic menu, even if you drag the pages in Plan mode, the first page is always index.html.
    Insert the menu, in the menu options choose Manual from the Menu Type menu. For a small site, this is fine.

  • How can i Use the symbols from the main html page?

    Hello!
    Im trying to find a solution for days!!
    i need to use my symbols from the html page, for example to hide the symbol i want to use: sym.$( "sym1" ).hide(); or to make it draggable (with jquery UI) i wanna use: sym.$( "sym1" ).draggable(); but it doesn't work.
    i know i can do the same from the edgeActions.js file and here is the working code:
          Symbol.bindElementAction(compId, symbolName, "document", "compositionReady", function(sym, e) {
             var ex1 = sym.$( "farmer" );
             //ex1.html( '<input type="text" />' );
             yepnope({
                 both: [
                     "libs/jquery-ui.min.js",
                     "libs/jquery-ui.css",
                 callback: function() {
             ( ex1 ).draggable();
    but the main problem is that it's always include this file as the very last .js, so in case Im trying to use the symbols from the index.html page (For example:  ( ex1 ).draggable();  ) the variables are undefined (because it read the html first)...
    Please Help, Im desperate..
    Thank you very much!!!
    Eran

    Hi, Eran-
    You will want to use the AdobeEdge.* APIs, which should give you access from external JavaScript into your Edge Animation.  The API document has information on that.  However, you will need to wait until the runtime loads, so you should use the bootstrapping method that is outlined in Josh Hatwich's post on our blog:
    http://blogs.adobe.com/edge/2012/05/15/bootstrapping-edge-compositions/
    Hope that helps!
    -Elaine

  • Need help with creating template. Changes are not going through to index.html page

    Hi all,
    I have an issue with my template that I am creating and also a question about creating template Regions (Repeating and Editable).
    Somehow my changes to my index.dwt are not changing my index.html page.
    Also my other question is: For my top navigation bar and left navigation bar links, do I need to select and define each individual button or link as Repeating/Editable Region? or can I just select the whole navigation bar (the one on the top) etc...
    Below are my steps for creating my template...I am kinda fairly new to using DW and this is my first attempt to making a template following the DW tutorial CD that came with DW CS3.
    I appreciate any help with this...regards, Dano
    -Open my index.html file
    -File/save as template
    -Save
    -update links - yes
    -Select Repeating and Editable Regions (I selected the whole top navigation bar and selected Repeating Region and Editable Region, same with the left side navigation links)
    -File close all
    -Open the index.dwt
    -Save as and selected the index.html and chose to overide it..
    When I make changes to my index.dwt it is not changing the index.html
    I feel that I am missing some important steps here.....
    Website address
    www.defenseproshop.com

    Figured out

  • Index.html pages in local sub-directories will not load automatically when sub-directory name entered into address field, followed by a forward-slash

    I am in the process of designing a website-on-a-CD. In order to make things easier for my clients, I decided to organize this site into local sub-directories with an index.html page in each one. However, when I try to enter the local sub-directory name, followed by a forward-slash, the index page does not open automatically. Instead, I get a raw directory listing that includes the index.html file, and anything else that is present within it. I would like to know if there is any way to force this page to load automatically within Firefox from a local storage medium as it would load from a web-server.

    You need to use file:// as the protocol instead of C:/. The latter may never work (C:\ might).
    Where is the main HTML located ?
    Easiest if to store the images in a sub folder of the location because you can't go back via ../ beyond that root location for security reasons.
    See:
    *http://kb.mozillazine.org/Links_to_local_pages_do_not_work

  • Can I use multiple p class="logos" tag with the same name within the same html page?

    I was told not to use <div class> tags too many times. I was using them for text, images, to clear floats, I basically built my website using multiple <div class> tags. So if I can't use multiple <div class> tags could I use <p class> tags multiple times in the same html page?
    I have a string of logos at the bottom of my webpage which will all be using the same css characteristics for all logos. Would this be the proper way to write the code:
    HTML
    <p class="logos">Logo1<a href="...></a></p>
    <p class="logos">Logo2<a href="...></a></p>
    <p class="logos">Logo3<a href="...></a></p>
    <p class="logos">Logo4<a href="...></a></p>
    <p class="logos">Logo5<a href="...></a></p>
    <p class="logos">Logo6<a href="...></a></p>
    CSS
    .logos {
    margin-left:10px;
    Here's my website: http://www.darbymanufacturing.com/test_website/index.html - this is the website built with all div class tags
    I restarted the website in order to write the code properly so that I don't come to errors when uploading on the server like I am having with the website link above.

    Instead of writing something like this -
    <p class="logos">Logo1<a href="...></a></p>
    <p class="logos">Logo2<a href="...></a></p>
    <p class="logos">Logo3<a href="...></a></p>
    <p class="logos">Logo4<a href="...></a></p>
    <p class="logos">Logo5<a href="...></a></p>
    <p class="logos">Logo6<a href="...></a></p>
    Why not have something like this -
    <div id="logodiv">
    <p>Logo1<a href="...></a></p>
    <p>Logo2<a href="...></a></p>
    <p>Logo3<a href="...></a></p>
    <p>Logo4<a href="...></a></p>
    <p>Logo5<a href="...></a></p>
    <p>Logo6<a href="...></a></p>
    </div>
    with CSS like this -
    #logodiv p { ... }

  • How can I find the name and path of the host html page

    Hi all,
    I want to make a banner using flash. This banner will be
    included in several pages in several domains.
    So, I want to count the clicks and store statistical data,
    calling an asp, and I want to get the host HTML page name which
    includes my banner.
    How can I do this?
    Thanks in advance

    or you can use the localConnection class inside of flash....
    it will return the domain name for you.
    var lc:LocalConnection = new LocalConnection();
    trace(lc.domain());

  • Page cannot be displayed with launch button in the ContentDB Home page

    Launch button in the ContentDB Home page lead on error (The page cannot be displayed).
    It would be of great help if you could provide help or track to solve that issue.
    It's a 2 hosts installation of Content DB 10g Release 1 (10.2.0.0.0) for Linux x86-64:
    Host 1:
    * Database10g R2 (10.2.0.1.0)
    * OID
    * Patch Set 10.2.0.2
    * Metadata Repository 101203
    Host 2:
    * SSO
    * DAS
    * Oracle Application Server Certificate Authority
    * CDB
    Thank a lot in advance for your kind help.
    Best regards.

    Hi,
    And as we also have a problem with Oracle Drive (which is not configured with SSO), here are the messages i see in the logs , after an Oracle Drive connection try:
    09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.fdk.http.HttpServerManager] [23] FINE: Server EcmHttpServer is running
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINE: servicing request: LOGOUT /content/dav/
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINER: AUTHORIZATION: Digest username="dla",
    realm="Authorized_Users", nonce="5ffd0968214765fd49bccc784d1fd017", uri="/content/dav/", nc=00000001, cnonce="fYvHyrSPXcJoa18j", qop=auth,
    response="e9ba4664ee39abf27c787b7ba7b96177"
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINER: CALYPSO-CONTROL: H_Req,167899158,7777
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINER: CHRONOS: aggregate
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINER: CLIENTIP: 10.1.200.129
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINER: CONNECTION: Keep-Alive, Calypso-Control
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINER: CONTENT-LENGTH: 0
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINER: HOST: hera.gva.spg.ch:7777
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINER: ORACLE-CACHE-VERSION: 10.1.2
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINER: ORACLE-ECID: 77338626691,1
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINER: SSL-HTTPS: off
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINER: SURROGATE-CAPABILITY: orcl="webcache/1.0
    Surrogate/1.0 ESI/1.0 ESI-Inline/1.0 ESI-INV/1.0 ORAESI/9.0.4"
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINER: USER-AGENT: Oracle Drive 10.2.0.0.13
    (build 105)
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINER: X-FEATURES: 1
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.fdk.http.HttpAuthManager] [23] FINE: SSO Headers: Username = null; Accept-Language
    = null; Osso-User-Dn = null; Osso-User-Guid = null; Osso-Subscriber = null; Osso-Subscriber-Dn = null; Osso-Subscriber-Guid = null
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.DavSessionManager] [23] FINER: No session found in the
    HttpSession
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.DavSessionManager] [23] FINER: DAV client detected, trying
    persistent cookie
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.DavSessionManager] [23] FINER: Trying digest headers
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.DavDigestSessionManager] [23] FINER: DigestAuthInfo =
    Digest username=dla, nonce=5ffd0968214765fd49bccc784d1fd017, response=e9ba4664ee39abf27c787b7ba7b96177, cnonce=fYvHyrSPXcJoa18j, qop=auth,
    nc=00000001, realm=Authorized_Users, uri=/content/dav/, algorithm=MD5
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.DavDigestSessionManager] [23] FINER: credential = oracle.ifs.common.HttpDigestCredential@1d4c4b7
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.DavDigestSessionManager] [23] FINER: no session in nonce-cache
    for user dla
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.impl.security.DigestAuthentication] [23] FINE: Valid nonce
    table dump:
    Nouvelle entrée     Nonce: 5ffd0968214765fd49bccc784d1fd017; Expires: Wed Jan 28 15:55:06 CET 2009
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.fdk.http.HttpAuthManager] [23] FINE: servlet path = /dav
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.fdk.impl.SessionPool] [23] FINE: Creating LibrarySession pool for user:
    dla
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.fdk.impl.SessionPool] [23] FINE: Creating new LibrarySession ...
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.fdk.impl.SessionPool] [23] FINE: Freeing LibrarySession pool: [User: dla;
      Avail = 0; In Use = 0; Total = 0; References = 0; MaxUsed = 0]
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.DavDigestSessionManager] [23] FINER: session = null
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.DavSessionManager] [23] FINER: Returning null
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.DavDigestSessionManager] [23] FINER: authHeader = Digest
    realm="Authorized_Users", nonce="5ffd0968214765fd49bccc784d1fd017", stale="false", qop="auth"
    I see a "session = null"
    Oracle Drive sent back an Error : Could not access the path
    I thought it could be a SSO problem : communication between OCS midTier and OC4J_SECURITY instance on the infra(sso) midTier.
    Finally seems there is a problem when opening a session on the ContentDb Node
    Laurent

  • How to open a index.html page from document library rather than download

    Hi,
    I have uploaded a website template folder structure to Office 365. Like this 
     When i click index.html the file gets downloaded to my pc. What i am trying to do is:
    Open the index.html file in new tab so that i can show demo for my site template?

    Hi NirajZ,
    You can't view the html file that uploaded in the SharePoint document library or List as attachment.
    If you wanted to see the html file in the SharePoint, Create the Content Editor WebPart and copy the html url in the link.(Edit the Content Editor WebPart and Check the Properties)
    Murugesa Pandian | MCPD | MCTS | SharePoint 2010

  • Hide and Display submit button on the Simple search page.

    Heading 1: h1 Hide and Display submit button on the Simple search page.
    I'm trying to set the enabled property of the submit button on the simple search page. The business case is to disable the button if the VO has not returned any rows.
    The Submit button is on the page button bar.
    regards
    Abhi

    Hi,
    I have already added this in my ProcessRequest, the issue I am facing is it the submit button is disabled while I load >the page which is fine. but when I do a search and the query returns rows still the submit button is disabled.---Will nt reuired SPEL here..
    ---On go button click setsession value.
    Follow below steps:
    CO PR:*
    OASubmitButtonBean continueBtn=(OASubmitButtonBean)flowLayout.findChildRecursive("continueBtn");
    if(continueBtn != null && "D".equals(oapagecontext.getSessionValue("Flag"))
    continueBtn.setDisabled(false);
    else if(continueBtn != null )
    continueBtn.setDisabled(true);
    CO PFR:_
    if(pageContext.getParameter("Go") != null)
    oapagecontext.putSessionValue("Flag","D");
    Regards
    Meher Irk
    Edited by: Meher Irk on Mar 22, 2011 7:48 PM
    Edited by: Meher Irk on Mar 22, 2011 7:48 PM

  • Problem with DOCTYPE tag in the index.html for flex file

    When I have the following !DOCTYPE tag in the index.html file I use to load the flex swf file(s) both FireFox and Orical browsers both become horizontally shortened.  When the tag removed everything works fine.  Given that the !DOCTYPE tag is necessary for good html I'd really like to know what's going on.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    Good info on that site about HTML, unfortunatly it had nothing new for me.  I did double check and everything and I was doing things the way they recomend.
    I'm really bothered that this is happening.  The DOCTYPE tag should be used and it should not have this effect when added to the HTML generated by the Flex Builder.  Additionally the new Flash Builder does have the DOCTYPE tag in its generated HTML and this is very worrisome.

  • Captivate 8, HTML5: Unable to drag objects using the index.html

    Using Captivate 8 and publishing to SWF and HTML5. In the published index.html file, I'm unable to drag anything in my drag and drop interaction.
    Disabled Master Slide Objects on Top
    Accept All disabled in Accepted Drag Sources
    Set opacity of drop targets to 0%
    The interaction works in the swf version of the course and the [project_name].htm file, just not in the index.html. When previewing in the browser from CP8, the interaction works, but not when previewing HTML5 in the browser.
    Is there something I need to do to make the drag and drop interaction work in HTML5? Something I need to activate? Edit in the code?
    Thanks,
    Kelly

    I have not upgraded at this time, but I can if that will fix the issues I'm having with the published files.
    To clarify, my project is NOT a responsive project. I'm just selecting HTML5 on the publish. And I am testing it locally, on our company server, and online. The drag and drop does not work in any instance of the index.html any of these locations.

  • Size of the "Precalculated HTML pages"?

    Hi Everybody,
        What will be the size of the "Precalculated HTML pages"?
    I downloaded the Precalculated HTML pages from the BW server to my DESKTOP using the BEX Download Scheduler,and the size of the Html pages are 0 KB.
    can any body tell what is going wrong?
    Waiting for reply,
    Thank's in advance
    Bhaskar

    Hi,
      Can you please recall it.Do you installed any patches or ......I had one more doubt,i.e. when i enter Data_mode=static, then HTML files will  be taken from my desktop and the path in the web browser changes to my desktop,i mean like(c:/programs/sap/frontend/bw,place where i downloaded the precalculated html pages)or it will be from report agent storage on BW server.
    waiting for your reply
    Thank you
    Message was edited by: Bhaskar Bysani

Maybe you are looking for

  • Best Practice setting up NICs for Hyper V 2008 r2

    I am looking at some suggestions for best practice for setting up a hyper V 2008 r2 at a remote location with 5 nics, one for managment vlan and other 4 on the data vlan.  This server will host  2 virtual machines, one is a DC and the other is a memb

  • Make pictures pop up in certain space

    so i have my website but am unhappy with the fricken slideshows of Apple, and the so long list of photos, so i wonder if i just can have a list of small boxes with the picture in it and when i click on it, it pops, or even better fades into a certain

  • Unable to update my iPhone 4 to 6.0.1.

    I am unable to update my iPhone 4G to iOS 6.01.  Says download failed.

  • IWeb generated MobileMe hosted site - Can I customize the URL?

    I hope that my question is worded properly. I am not at all a pro. The site was created using iWeb, but the URL http://web.me.com/[YourMemberName]/[SiteName] is not desirable as the member name has nothing to do with the content. Is it at all possibl

  • Package AIR Application include serial key list

    Hi all, I just finished my AIR application. Now, I want to distribution my app but I don't know how to package to .air file inculde serial key (it's mean to install my app, user must have serial key). I searched on google but have no link satisfying.