Javascript can't get parent frame's dom

the code like this:
<pre><nowiki>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<input type="hidden" name="username" id="username" value="" />
<frameset id="MainFrame" cols="0,0,*" border="0" frameSpacing="0" frameborder="no">
<frame id="left" name="left" src="left.php" noresize scrolling="no" style="padding-left:20px;">
<frame id="action" name="action" src="right.php" noresize scrolling="no">
</frameset>
</html>
</nowiki></pre>
does firefox will omit the code:
<pre><nowiki><input type="hidden" name="username" id="username" value="" /></nowiki></pre>
so when i in left.php or right.php can't get the input value?

A good place to ask questions and advice about web development is at the MozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.
See http://forums.mozillazine.org/viewforum.php?f=25

Similar Messages

  • How can I get the frame option that diffuses the edges of a picture in pages 5.2

    I recently updated to Pages 5.2 and have discovered that my favorite and most used framing option is no longer a choice.  How can I get the frame option that allowed you to diffuse the edges to soften a picture edges on 5.2? 

    That is called the vignette, and yes Apple has removed it from Pages 5 along with 100 other features.
    Pages '08/'09 should still be in your Applications/iWork folder so use that.
    Be aware that Pages 5.2 is not only short of features it is also buggy and prone to leaving you with files that won't open.
    Peter

  • Get parent frame of an inline (anchored) box?

    Hi
    How can I obtain the parent frame of an inline (anchored) frame? I can obtain it with "IsPageItemAnchoredObject", but this doesn't seem to work if the inline frame is overflowed.
    Thanks
    Hans

    No.

  • How can I get my frame back in Elements 10?

    When I open a photo in Elements 10 it is floating and I can't get it to go back to the frame?

    Edit >> Preference >> General
    Uncheck Allow Floating Documents

  • TweenEvent.MOTION_FINISH & how can I get "next frame()" to work?

    I just started learning AS3 the other day and NEED HELP!!. I'm trying to tween two movie clips at the same time and when they are finished, make them timeline move to the next frame. How do I do this or make it work!?!!?!? .
    Here is my current code:
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    import fl.transitions.TweenEvent;
    var myTween:Tween = new Tween(doorRightMc, "x", Bounce.easeOut, 500.7, 1001, 3, true);
    var myTween2:Tween = new Tween(doorLeftMc, "x", Bounce.easeOut, 24.2, -480, 3, true);
    stop();
    myTween.addEventListener(TweenEvent.MOTION_FINISH, handleReset);
    function handleReset(e:TweenEvent):void {
        e.target.nextFrame();
    PLEASE Help me out with this! I can't get the nextFrame() function to work .
    Thanks!!!
    Here is the ERROR MESSAGE:
    Error: Error #1023: Stack overflow occurred.
        at fl.transitions::Tween/getPosition()
        at fl.transitions::Tween/update()
        at fl.transitions::Tween/set time()
        at fl.transitions::Tween/nextFrame()
        at intro4_fla::MainTimeline/onFinish()
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at fl.transitions::Tween/set time()
        at fl.transitions::Tween/nextFrame()
        at intro4_fla::MainTimeline/onFinish()
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at fl.transitions::Tween/set time()
        at fl.transitions::Tween/nextFrame()
        at intro4_fla::MainTimeline/onFinish()
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at fl.transitions::Tween/set time()
        at fl.transitions::Tween/nextFrame()
        at intro4_fla::MainTimeline/onFinish()
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at fl.transitions::Tween/set time()
        at fl.transitions::Tween/nextFrame()
        at intro4_fla::MainTimeline/onFinish()
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at fl.transitions::Tween/set time()
        at fl.transitions::Tween/nextFrame()
        at intro4_fla::MainTimeline/onFinish()
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at fl.transitions::Tween/set time()
        at fl.transitions::Tween/nextFrame()
        at intro4_fla::MainTimeline/onFinish()
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at fl.transitions::Tween/set time()
        at fl.transitions::Tween/nextFrame()
        at intro4_fla::MainTimeline/onFinish()
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at fl.transitions::Tween/set time()
        at fl.transitions::Tween/nextFrame()
        at intro4_fla::MainTimeline/onFinish()
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at fl.transitions::Tween/set time()
        at fl.transitions::Tween/nextFrame()
        at intro4_fla::MainTimeline/onFinish()
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at fl.transitions::Tween/set time()
        at fl.transitions::Tween/nextFrame()
        at intro4_fla::MainTimeline/onFinish()
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at fl.transitions::Tween/set time()
        at fl.transitions::Tween/nextFrame()
        at intro4_fla::MainTimeline/onFinish()
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at fl.transitions::Tween/set time()
        at fl.transitions::Tween/nextFrame()

    Stack overflows occur with infinite loops involving function calls (deep recursion).
    Your code causes a stack overflow because it calls the tween's nextFrame() function when the motion is already complete. That means that the MOTION_FINISHED event will be dispatched in the function you defined for the MOTION_FINISHED event: an infinite loop.
    I encountered a similar stack overflow when I tried to set the time of a tween beyond it's upper time in a MOTION_FINISHED event handler.
    ex.
    import fl.transitions.Tween;
    import fl.transitions.TweenEvent;
    import fl.transitions.easing.*;
    var xTween:Tween = new Tween(testObject, 'x', None.easeNone, 0, stage.stageWidth, 1, true);
    xTween.addEventListener(TweenEvent.MOTION_FINISH, handleReset);
    function handleReset(e:TweenEvent):void{
         e.target.time = 9001;
    (also, you're only supposed to use the nextFrame() method for frame-based tweens (Tweens with the useSeconds parameter set to false))

  • Can't get text frame to move to guideline.

    Hi everyone,
    I have a text frame in a document.  I can't get it to move up against the left (away from gutter) guideline.  Every other handle works, except the one on the left, towards edge of page.
    How can I get it to move?
    Thanks!

    Peter, I think you're getting there.  I did find an empty paragraph marker, got rid of it, now have the #, got rid of the little red box.
    But I found no evidence of an anchor hidden character. 
    I'm afraid I don't know enough to say if it is inline or custom.  I simply drew a text frame, pasted in the text, positioned the frame, then cut and pasted it back, hoping to make it anchored, but then the left side only moves the right side to the right, won't move itself.
    Here is the story editor view.  I'm not sure what an overset is.
    Thanks again!

  • Can't get parent div to expand vertically.

    I know the right column floats and I tried a few things I found online but can't get it!
    http://thecottagesongoldenpond.com/mc_family.html
    AND I'm making all pages from my initial template, so I will need to add "the missing code" to that template - each page may require taller or shorter page..

    So for your footer do a clear:
    #footer {
              clear: both;  
              background-color: #7D6A8A;
              text-align: center;
              height: 100px;
              width: auto;
              color: #FFFFFF;
              font-size: 13px;
              padding-top: 10px;
              font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
    Or you can make a line break do that:
    </map>
    </div>
    <br class="clearfloat />
    </div>
    and your CSS for the clearfloat class:
    .clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
              clear:both;
              height:0;
              font-size: 1px;
              line-height: 0px;

  • Can't get Parent class

    I have created three classes.
    JMainFrame : JFrame
    JMainFramesDlg: JDialog
    JMainFramesDlg1:JDialogJMainFrame opens JMainFramesDlg, after that I press a "Edit" button on the JMainFramesDlg and it opens JMainFramesDlg1
    if (jdlgEdit == null) {
    jdlgEdit = new JMainFramesDlg1(); }
    jdlgEdit.setVisible(true);Now, I am in this child Dialog (Edit) and made some edition, changes and press OK, how can I from JMainFramesDlg1 get the instance of JMainFramesDlg and JMainFrame, I want to make some changes in this windows, if some changes in Edit Dialog took place.

    Do you have a small sample for that? How can I get the feedback from the Dialog window?
    Well, you're extending Dialog, so you can do it any way you like.
    I'd quite often use one of three techniques:
    1. for simple data, use a getter (eg "public String getPassword()") which shows the dialog modally, and then returns the value stored in a text field in it
    2. for more complex data, use a method like "public void requestInput()" which shows the dialog modally then populates fields with the input data, which can be retrieved via methods like "public String getItemName()" or "public int getQuantity()"
    3. pass in an object to the dialog, and have the dialog display and operate on it directly - eg pass it a "User" object and have the dialog present text fields which allow direct editing of "name" or "password" or whatever - then all you need is "new UserEditorDialog(myUser).show()" and you're done

  • How can I get a frame accurate output to tape using Premiere Pro CS6 and a Blackmagic Decklink Extre

    i can set the frame offeset inside the Export to tape tool (which BTW is horrible, you can't scrub, you MUST use ":" or ";" in the timecode fiellds or the deck just goes to the beginning of the tape etc), but I'm still 12 frames off.  there is a frame offset in the Blackmagic device control settings, but that does nothing for the output to tape.
    I don't want to have to export a quicktime and then open it in Final Cut to output to tape, the whole object is to get away from FCP because it's a horrible ghorrible program.....TIA
    This particular system is an 8core Nehelem Mac Pro with 32GB of ram, OS 10.7.5. 

    I don't know what AppleTV can handle as far as bit rate is concerned, but increase the bit rate as high as it will let you. You are taking DV which is 25Mb/s and compressing it. If you're making an H.264, you should get great results needing no more than 6Mb/s. Bear in mind, the higher the bit rate, the larger the file size.

  • Javascript: Can't get background source

    I'm trying to create script that will allow the user (on mouse over) to choose from one of a several banners to appear while they are on site.
    First I'm not sure if my logic is correct, and that is a simpler way. but here is what I got
    the CSS loads a default image.
    background-image:url(/images/banner.png);
    I'm trying to get the source (url) of what is/will be currently up there so I can compare it and place a differnt banner in
    I've seen it when the image is placed into a tag, I just can't figure how to get it from css
    Can anybody Help

    The problem I have now with not using CSS is having all the other pages
    load with the same banner.
    JavaScript Cookies do this for you.  A cookie script will capture the user's selection and pass it to other web pages.
    http://www.quirksmode.org/js/cookies.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • Can't get Parental Controls Preference Pane to load

    On a fairly vanilla iMac (Core 2 Duo, 2 GHz) running Mac OS X 10.5.4 I get the infinite colored pinwheel when trying to get into the Parental Controls pane of System Preferences.
    This has been going on for several 10.5.x releases now, I can't remember exactly when it started.
    I've tried repairing permissions and installing the latest combo updater (everything is up-to-date).
    The error I see in the console is:
    System Preferences[713] * -[NSCFArray objectAtIndex:]: index (0) beyond bounds (0)
    Any and all suggestions are welcome.
    Thanks in advance.

    Thanks - that's nice and clear - so only works if I set-up my children with separate log-on and restrict what they can view in their itunes view?
    Is there any way of achiving the same with one single account?

  • Why Javascript can't get value in Struts?

    I have a button in Struts,when click this button,it will show a value in Struts,like follows:
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="form" %>
    <script language="JavaScript">
    function a(){
    alert(username.value);
    </script>
    <form:form action="/register">
    UserName:<form:text property="username"/><br>
    enter password:<form:password property="password1"/><br>
    re-enter password:<form:password property="password2"/><br>
    <form:hidden property="abc" value="3"/><br>
    <form:button property="button" value="Test" onclick="a()"/>     
    <form:submit value="Register"/>
    </form:form>
    But when I click Test button,it can't show the value of parameter "username",why? How to show the value of it?
    I have a another question,how many attribute of the taglib <form:>? Is there a document for it?
    Thanks!

    But when I click Test button,it can't show the value of parameter "username",why? How to show the value of it?
    Paz>>
    <script language="JavaScript">
    function a(){
    alert(document.forms[0].username.value);
    </script>I have a another question,how many attribute of the taglib <form:>? Is there a document for it?
    Paz>>
    http://struts.apache.org//struts-doc-1.1/userGuide/struts-html.html

  • How can i get appointment frame in OutLook

    Hi All,
    I got OutLook but OutLookExpress .by using
    Runtime.getRuntime().exec("cmd /c start outlook");
    i got inbox, outbox ...by using
    Runtime.getRuntime().exec("cmd /c start outlook:inbox");
    In this outlook how do we get the appointment frame and new mail message frame.
    Please help me
    Thanks........

    i need to open the Outlook appointment frame in java
    fileYes, but that does not make it a Java question. You are asking about the arguments to outlook. Ask that in a M$ forum.
    Kaj

  • Can't Get Freeze Frame Or Title Longer Than 2 Minutes?

    I once knew how but have forgotten!
    Deleting In/Out points in Viewer, or ctrl clicking clip and selecting "Duration" won't stretch video above 2 minutes.
    How do I stretch it to 30 minutes etc. other than by replicating clips?

    Thanks Mitch.
    I actually discovered it on Piero's website just as I heard the "pling" of your incoming email announcement!
    So you were first by a whisker.
    http://web.mac.com/piero.fiorani/PieroFFCEEffect/Welcome.html

  • How to get the frame rate of my application

    Hi again...
    How can I get the frame rate of my application?
    I also want the frame rate value to be the title of the frame, updated every second. How do I do that?
    thanks in advance...

    To get the path where your application has been installed you have to do the following:
    have a class called "what_ever" in the folder.
    then you do a litte:
    String path=
    what_ever.class.getRessource("what_ever.class").toString()
    That get you a string like:
    file:/C:/Program Files/Cool_program/what_ever.class
    Then you process the result a little to remove anything you don't want:
    path=path.substring(path.indexOf('/')+1),path.lastIndexOf('/'))
    //Might be a little error here but you should find out //quickly if it's the case
    And here you go, you have a nice
    C:/Program Files/Cool_program
    which is the path to your application.
    Hooray

Maybe you are looking for

  • How do you convert Logical System Names of BW systems in BO

    Hi, We have implemented SSO where user/role administration takes place in BW, and then imported into BO where authorization to folders and reports are maintained.  What we are NOT yet able to figure out is how to move our BO groups (i.e. those groups

  • How to delete wifi access point on E7 - mails won'...

    I have E7 with symbian anna. A while ago I had to restart my home wifi (due to storm) and during that process a new wifi access point (wlan(01) was created on my phone. After that - as far as I have now understood - my phone stopped syncronising gmai

  • Load the path for properties files

    Hi; My application uses of the properties files which are stored in a repertory /properties at the same level that JAR. I search an good means to configure the path of the files properties: for example: a environment variable or another mean? My appl

  • Import/Export SMS to/from iPhone have be must in Itunes

    Import/Export SMS to/from iPhone have be must in Itunes

  • Sync itunes between two computers

    Hey all, I have had a laptop for a while with my itunes library on it. I recently bought a small desktop to keep connected to my home theatre, as it's a pain to keep connecting my laptop all the time, especially when I take my laptop with me everywhe