Html db use javascript

Hi everyone,
But using HTMLDB conditional display functionality, the buttons are there or not but not disable. I mean disable that you see the button but you can't launch a process because you can't access it.
Thanks a lot. Bye.

Hi Eric;
We have an HTMLDB application with good amount of JavaScript. It has not caused us any problems and given us allot of capabilities. One of them is showing the total value of a series of fields as data is entered.
We are internally having the debate on using JavaScript to replace built-in HTMLDB functionality such as field validation. One plus for JavaScript is it happens without HTMLDB having to render the page again. On the side of HTMLDB, it already does it “Out of the Box” very nicely with good UI
As fare as “Enable and disable buttons” we have done this using HTMLDB conditional display functionality.

Similar Messages

  • Hide an HTML button using javascript

    Hi,
    I need to hide an html buttton using javascript. I have an radio button with values "YES" and "NO". If is select NO then i need hide the button without refreshing the page. Can anyone suggest me how to hide an button using javascript.
    Thanks
    Prashanth

    Prashanth,
    The exact solution will vary based on a few factors. The basic idea is to place an event handler on the radio button item that calls a function to hide/show the button. You might also want to call that function when the page loads too.
    If you put an example page on apex.oracle.com and provide the workspace/username/password I'll take a look. You can create a new account for this purpose.
    Regards,
    Dan
    Blog: http://DanielMcGhan.us/
    Work: http://SkillBuilders.com/

  • To know the Status code of a HTML page using Javascript

    To know the Status code of a HTML page using Javascript

    Hello,
    I am not sure to understand, which status are you talking about? The HTTP Status?
    If your javscript is executed it is more or less sure that the HTTP Status is 200 since the request is back to the browser.
    or are you talking about this is in the context of a XMLHTTPRequest call ?
    Regards
    Tugdual Grall

  • Can I make an Imageboard in a HTML page (using JavaScript)?

    Hello all.
    Just like to say that this is my first post on the Adobe forums!
    Anyways, I've started a website project in Dreamweaver CS6 (full version) and will probably be using Photoshop (CS6) for some parts of the site too. It's gonna be pretty basic but I want to make an imageboard (with JavaScript? I'm not sure...) where users who have logged in can post an image on the feed with a comment/caption to go with it.
    How can I do this? Can anyone point me to a good tutorial on how to make this? Do I do it with JavaScript on the HTML page? (P.S. I am mildly experienced with HTML).
    Thanks in advance!

    Unfortunately, there isn't anything in DW that can do this type of thing for you, although if you were to learn php and mySQL you definitely could use DW to create a site with those types of features.
    There's actually quite a bit that goes into that kind of thing, more than just basic code, you need to think about security especially if you plan to allow someone to upload files, potentially infected with viruses, to your server.
    If you're talking about creating a basic forum (being able to start topics, post pics and comments), there are a lot of free and paid solutions available online. Certain hosting companies even give you basic forums you can add to your site by following the instructions on their pages.
    Unless you have a lot of time on your hands to learn all the ins and outs of PHP and the security necessary to keep your site and server safe, I'd suggest going that route.

  • Problem in html and using javascript

    Hello,
    I want to create a html page that calls a javascript file(.js) using the HTML portlet. The problem is that i do not how to specify the location of the javascript (src="location/name of .js file")as i do not know in which directory does the HTML portlet resides.
    Please give me some guidance on this.
    Thanks in advance.

    If you want to store the .js file on the file system, the base directory is <ORACLE_HOME>/portal. For example, on Windows, if your mid-tier Oracle Home is d:\iasv2, your base directory will be d:\iasv2\portal. The relative link "/location/myjs.js" (note the leading slash) would resolve to "d:\iasv2\portal\location\myjs.js".
    If you want to store the file in the Portal repository, the path is "/<DAD>/docs/PAGE/<pagepath>/<docname>", where <DAD> is your database access descriptor (e.g."/pls/portal"), <pagepath> is the path to the page on which the document is stored, starting with the name of the root page of the page group. So if your DAD is "/pls/portal", your root page is called "mypages" (the internal name is used, not the display name), and the document is stored on a page under the rootpage called "myscripts", the href will be "/pls/portal/docs/page/mypages/myscripts/myjs.js".
    You can also specify a path relative to the current page. So, in the above example, if your HTML portlet is on "mypages", your href can be simply "myscripts/myjs.js".
    If this is release 1 of Portal (3.0.x), use /<DAD>/docs/FOLDER/<folderpath>/<docname> as the path to the document (e.g. "/pls/portal/docs/folder/myfolders/myscripts/myjs.js").
    Regards,
    Jerry
    PortalPM

  • Opening HTML form using javascript

    Hi,
    I want a syntax or code in javascript for moving one HTML form to another HTML form. I have to designed the Registration form in HTML. If click the Submit button, then it goes to another form. I validation in javascript. so i want a code for this is in javascript
    I tried this codes
    location.href='path of file';
    and
    document.URL='path of file';
    But it didn't work properly.
    Can anyone help me pls.

    Java is not Javascript.
    try on a javascript forum

  • Hi, We have an application  built using HTMl 5 and Javascript running on IPad2, iOS5.1 Safari 5.1. When we try to download a file(.pvw file) in that application safari throws "Download failed" error. Please suggest what needs to be done.

    Hi,
    We have an application  built using HTMl 5 and Javascript running on IPad2, iOS5.1 Safari 5.1.
    When a file url is clicked instead of asking for Save or Open or Cancel options, the file gets opened on IPad by default.
    Is this default behaviour which cannot be changed or can it be configured to ask user preference?
    When we try to download a file(.pvw file -> a model file) in the above application, safari throws "Download failed" error.
    Please suggest what needs to be done.
    Regards,
    Pramod

    Safari on an iPad in general does not allow downloading of files. That's a safety precaution in the iOS SDK to keep unauthorized content off of iOS devices. Safari will open from the web site file types that it can handle, but direct downloading isn't normal behavior, and I don't believe the behavior can be changed, though you can try asking in the developer forum, either here or the one to which you have access as a member of Apple's iOS developer program.
    Regards.

  • Using javascript to dynamically generate the html for a  Spry table

    I have some javascript which generates html code for a Spry
    table which displays the content of a Spry data set. The problem is
    that after I generate the html, Spry never fills in the values for
    the table.
    Here's what I'm doing:
    Using a data set observer, check for onPostLoad and generate
    the html code
    Using innerHTML, stuff the code into the appropriate
    <div>
    Use regionName.updateContent() to update the region I just
    created with the html code I generated
    Interestingly, if I take the generated source for my page and
    remove the data set observer, the Spry table displays correctly
    with all the expected values. This suggests to me that my generated
    html code is correct, but that there is some sort of timing issue
    (i.e. Spry doesn't know about the new code I generated).
    Any suggestions?

    jalperin wrote:
    > Here's what I'm doing:
    >
    Using a data set observer, check for
    onPostLoad and generate the html
    > code
    >
    Using innerHTML, stuff the code into
    the appropriate <div>
    >
    Use regionName.updateContent() to
    update the region I just created
    > with the html code I generated
    >
    > Interestingly, if I take the generated source for my
    page and remove the data
    > set observer, the Spry table displays correctly with all
    the expected values.
    > This suggests to me that my generated html code is
    correct, but that there is
    > some sort of timing issue (i.e. Spry doesn't know about
    the new code I
    > generated).
    >
    > Any suggestions?
    I'd guess that it is a timing issue as well. I haven't looked
    much at the dataset capability in Spry, but it may be that the
    dataset "finds" all of the regions and code that it applies to
    before the onPostLoad event is triggered. If that is the case, then
    your generated code doesn't exist yet,and so the dataset thinks
    that there is nothing for it to apply to.
    Will the HTML that you generate change based upon the dataset
    that is actually returned? I guess I'm looking for the reason why
    the HTML is being generated when it could be in the page itself and
    avoid this issue completely.
    Danilo Celic
    |
    http://blog.extensioneering.com/
    | WebAssist Extensioneer
    | Adobe Community Expert

  • How can I use javascript in a Text Area with HTML editor??

    My question is... how can I use javascript in Text Area with HTML editor??
    I can use javascript functions that change the content of Text Areas but i can´t if i try in text area with html editor....
    I need to limit number of characters in a text area with html editor and i can´t.
    could anybody help me please?

    I have been experiencing similar problems with the HTML Editor and have managed to find an answer that should start to answer some of my questions. The Apex HTML Editor Standard is actually an HTML editor called FCKeditor. The FCKeditor has a Javascript API that can be found at http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/JavaScript_API. Unfortuately this doesn't seem to give the whole answer and I found more at http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:49607.
    I needed to get the text entered within my html editor standard (e.g. P1_MYTEXT) and use it within my javascript function. I did this by using the following script
    <script language="JavaScript" type="text/javascript">
    function showtext(){
    var oEditor = FCKeditorAPI.GetInstance('P1_MYTEXT');
    var editortext = escape(oEditor.GetXHTML(oEditor.FormatOutput));
    alert(editortext);
    </script>
    Hope this helps.
    Matthew

  • How to include HTML file in JSP using HTML elements or Javascript?

    Hi,
    I have around 15000 static html files one for each item which we display each upon invoking an item.The HTML file should be part of a JSP file.
    Please note that the name of the HTML file is determined dynamically
    Placing all the HTML files within the web application does not give us good performance so i would like to put all of them in the webserver.
    I am not able to include the file in the JSP using the jsp:include attribute if i place the HTML files in the webserver ,
    in order to do that i think should use either HTML element or javascript to include the HTML in the JSP.is there any alternative to <Jsp:include>
    Does anyone have an idea how to include the HTML file and take advan tage of webserver?
    Any ideas are appreciated

    What you need to do is simply read the HTML file from the disk and dump it out to the outputstream. It really is that simple.
    There's no reason you need to include all 15000 files in the actual WAR, you can place those files any place handy that is easy for the application to see (in another directory, or accessible from a file server if you have multiple front ends).
    Then, just write a utiility function that takes the output stream (i.e. the 'out' JSP variable), and the file name, read the file, and write it to the stream.
    If you start noticing performance issues, then you can try doing some caching, but truth is your OS should be doing that for you.
    But, truth be told that's the only practical way to do it.
    Another solution would be to use JavaScriipt and XMLHttpRequest (i.e "AJAX") to load the file at the client side, and simply replace a tag with the results.
    That's also pretty trivial to write, any web site talking about AJAX should give you hint there.
    Of course, that won't work for folks who have JavaScript turned off, or some other incompatible browser, whereas the server side solution obviously works everywhere.

  • HTML DB Items Using JavaScript

    I have a page that is based on a SQL Query (PL/SQL Function Body Returning SQL Query). If I call another page from one of the items using a URL such as
    f?p=&APP_ID.:6:#APP_SESSION#::::P6_ID:#ID#
    it calls the new page fine.
    If I try and call it using the example in :
    http://www.oracle.com/technology/products/database/htmldb/howtos/how_to_create_custom_popups.html
    So change it to have an HTML expression of :
    &lt;a href="javascript:callMyPopup('ID');"&gt;Notes&lt;/a&gt;
    the ID never seems to be seen.
    If i do an function callMyPopup (formItem1) {
    var formVal1 = document.getElementById(formItem1).value;
    alert('value is ' || formVal1);
    the values is also not displayed.
    This is the first time I have tried to use Javascript, is my problem because the ID is part of the Query rather than a static field ?
    Thanks
    Paul

    Hello Paul,
    Your JavaScript function will not work properly because you try to pass a form item value to that function. But you are calling the function from a query.
    Try the following:
    First, change the URL from:
    f?p=&APP_ID.:6:#APP_SESSION#::::P6_ID:#ID#
    to:
    javascript:callMyPopup('#ID#');
    Second, change the link text from:
    <img src="#IMAGE_PREFIX#...>
    to:
    Note
    Third, change your JavaScript function:
    function callMyPopup (qvalue) {
    alert('value is ' + qvalue);
    Regards,
    Tom

  • Trying to open a page in IE-tab using javascript, script type="text/javascript" window.location.href="chrome://coralietab/content/container.html?url=0,myurl" /script Error:Component returned failure code:0x80004005 (NS_ERROR_FAILURE) [nsIDOMLocation.href]

    I am trying to open a page in IE-tab using javascript like this, <script type="text/javascript"> window.location.href = "chrome://coralietab/content/container.html?url=0,myurl" ;</script>.Error occured : [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMLocation.href]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame ::myurl :: load :: line 234" data: no] I have IE-Tab plug-in installed..when I open the same link manually in mozilla,it works fine and page gets opened in Ie-tab.

    The only way this might be possible is by using the HostContainer object
    to access the HTML page and do it from there.

  • Can I use JavaScript HTML Portlet and PDK Portlets

    Can I use JavaScript HTML Portlet and PDK Portlets?
    My Script works fine with the an HTML portlet but it always gives a an Error Message in the status bar is that normal...
    Other then that I have JavaScript in my PDK portlet page it does not work.. it is the the same javascript I use for in my HTML portlet which works in HTML portlets..

    You'll have to place your JavaScript in the header section of your Portal page. To do so, use HTML/UI templates. For more information, refer to the How to Design and Build Compelling Portal Interfaces whitepaper.
    Good luck,
    Peter

  • Overwriting the value of an html:hidden tag using javascript

    Hi!
    Can somebody help me with my problem?
    I need to overwrite the value of my html:hidden tag using javascript, but I dont know how?
    Any help?
    Thanks

    what are you talking about :x
    thats a webapplication question, wrong forum..
    But you are using STRUTS I would say...
    <html:hidden property="hiddenfield"/>This is the proper way of doing it.. but overrighting it
    I don't think you understand why we use that?
    It is only for forms.... we use that for hidden input ... It is common sence not to overrde that value.

  • Tabbing with in textbox using javascript for html

    Assume a default date (mm/dd/yyyy)with in a textbox. On getting the focus to the textbox the focus should be on mm(should be highlighted), when it is replaced by a month, it should automatically focus on the date dd, when dd is replace it should get to yyyy. How to achieve this using javascript.

    Javascript != Javago ask on a Javascript forum.

Maybe you are looking for

  • XML Data into oracle table

    Hi All, I am trying to insert data into oracle 9i temp tables using the following style. but getting error as ERROR at line 3 ORA-00933 SQL command not properly ended Please assist me. INSERT INTO emp (empname,empno) SELECT * FROM XMLTABLE ( '/EMP/CO

  • How can I get Elements 11 Organiser to sort by File Name as in Elements 7

    I have just acquired Elements 11 to replace Elements 7 All my main photos (thousands) are in 1 file on my computer. My individual file names are dates - eg "1960-09Sept Venice St Marks Square.." etc, so File Names bring my thousands of images up in d

  • I am considering a Time capsule but .....

    I have an Airport Express connected to my Sky (Netgear) router and set it up as a separate network and (as this gives me the best coverage) I use this to connect to the internet.  I also have a Linksys WRT-54GL which I use as a booster.  Reception is

  • Using TV monitor while editing AVCHD footage

    How do I do this? Back in the days of MiniDV (standard definition) I was able to wire everything up for this to work, but now I'm struggling! Thanks Richard

  • Adding a secondary wireless controller for redundancy (5508)

    I need to add a secondary controller for redundancy (both controllers located in the same location, etc)  This is a small wireless network of about 35 Aps. What I am trying to accomplish is to provide wireless connectivity in case the primary control