Opera Bug? -- Disappearing <form> ?!
Jul 23, 2005
In Opera 8.01 (Linux; Build 1204) and in Opera 7.54 (Windows XP; Build 3865),
my form disappears from the HTML markup (below). To summarize:
1) In a <script> block in the <head> I create a form element (part of
object/feature/bug detection).
2) There's a <form> element defined in the <body>, with the id 'theForm'.
3) The onload function tries to access that form, and also counts the
total number of forms in the document. It fails to get a reference
to the form; the count is 0. Code:
View 4 Replies
ADVERTISEMENT
Feb 15, 2011
The following code is supposed to display and hide fields when clicking on radio buttons which is does correctly, it also gives the fields that are hidden a value so that it passes validation.
The problem is that when the user moves from one field to the next, it deletes the value that they have just entered. [code]...
View 1 Replies
View Related
Feb 15, 2011
The following code is supposed to display and hide fields when clicking on radio buttons which is does correctly, it also gives the fields that are hidden a value so that it passes validation. T
The problem is that when the user moves from one field to the next, it deletes the value that they have just entered. :S Any ideas why this might occur? code...
View 1 Replies
View Related
Jan 3, 2011
how i can put text inside a <input form that disappear when the user clicks inside the form. I would like to write "Description" inside a form so they know that they have to write a description into that form.
View 2 Replies
View Related
Jan 2, 2011
Anybody have a clue why IE and Opera wont prevent this form from submitting? [URL]
If you click "Submit Form" in FX/Safari/Chrome it shows how it should work - it is supposed to prevent submission unless the spam question is filled out correctly. However IE/Opera only show the red error if you put a value in the input. But they still do not prevent submission. In IE/Opera it goes strait to the php validation.
I am using the [URL]
View 2 Replies
View Related
Jul 14, 2006
I've got a fair amount of Javascript coding that works great in IE and
Opera, but is completely ignore in Firefox and Netscape. See:
View 3 Replies
View Related
Aug 19, 2009
I have a code (see below), in Firefox it works perfectly: it saves submitted information after clicking __JL_SAVE button and keeps user on same page.But in Internet Explorer & Opera it only redirects to index page (index.php) and doesn't save submitted information.
Here is code:
echo '<form action="index.php" id="mosForm" method="post" enctype="multipart/form-data">';
global $mainframe;
echo "<pre>".print_r($mainframe->_session,true)."</pre>";
[code]....
View 1 Replies
View Related
Jan 26, 2011
I stumbled on this problem while testing StatusNet for our next release; we use jquery.form's .ajaxForm() to do various AJAX form submissions, including the primary message-sending form which includes a file upload control.
We've not seen problems before, but since upgrading from an old Form plugin version 2.17 to 2.49 a couple months ago, I've noticed our development branch no longer works properly in Opera: the actual submission goes fine, but we're unable to access the XML return data (which usually contains HTML fragments to put back into the UI).
I have a test case which demonstrates this at [URL] (source of the main page & submit handler are included there), using current jQuery 1.4.4 and jquery.form 2.52.
Under Firefox 4.0b10 and other browsers, the forms submit correctly, and we can read nodes and text out of the returned XML just fine.
But on Opera 11.00 and 10.63, the submission goes through but we get back an HTML document containing only "<head></head><body></body>". On Opera 9.63, it also includes the text "Blank page."
I tried to trace this down in jquery.form's history, and the trouble seems to have started around 2.39 with a commit ironically titled "iframe load fix (mostly for Opera)", which changes the event handling for forms submitted via iframe: from that version on, a 'load' event handler is added directly as an onload attribute on the iframe's source, whereas previously it was added with attachEvent or addEventListener.
It looks to me like the iframe is throwing a load event for the "about:blank" page, instead of for the submission.
I can revert back to 2.17 or another working version for now, but I'd like to make sure this is fixed upstream;
View 4 Replies
View Related
Mar 2, 2009
I am designing a page that contains a dropdown menu with a list of options, once one of those options have been clicked, a certain page should be displayed in the iframe.
This works fine. However, for some reason, when i move my mouse off the iframe, back on to it then off again the iframe disappears.
View 4 Replies
View Related
Jun 7, 2010
In IE7 only, I have an issue with disappearing elements/styling. First, my h3 header disappears. The space that it occupies is partially there, but not text is visible, nor is the background or the bottom-border assigned to it. In addition, other divs below the h3 are missing their bottom-border. However, spans nested inside of divs missing their bottom border show the border. Lastly all but one the activity divs is missing its background and the one that does show it, the 4th one, only shows it below the "date" span. Here is the HTML:
[Code]...
View 3 Replies
View Related
Jun 19, 2010
Code...
In IE7/Windows the left vertical navbar disappears. I have used every hasLayout trick I know. Can anyone put a finger on it? I'm working with legacy code to complicate matters. code...
View 1 Replies
View Related
Mar 24, 2009
Firstly I am using Scriptaculous to implement the sortable list but have looked there and not been able to find any reason for this to be occurring.
I have a list of sortable items, there are 2 droppables enabled with
the list, 1 to delete it and the other to place a "linked" item in
another sortable list utilising a relational database.
This all works fine except for this bug:
When I add an item to the second list it goes there no problem and I
can sort that list, but as soon as i try to do anything with the first
list all the items in the list disappear. If I manually refresh the
page then they all appear again as normal.
Im using AJAX with my site as well and have a separate method and php
call to insert from 1 list to another.
Im not sure where I this bug might be, there is a lot of relevant code
so I figured id ask before posting it incase someone can assist where
the error might be or perhaps a bit more specific in terms of which
code I need to post.
View 4 Replies
View Related
Oct 5, 2009
I'm implementing the png fix for ie6 using the following code:
Code:
var arVersion = navigator.appVersion.split("MSIE")
var version = parseFloat(arVersion[1])
if ((version >= 5.5) && (document.body.filters))
[Code]....
Really not sure whats wrong with this code. how I can fix this cause it reads the the code but it makes my images dissapear.
If there is a better method for PNG fix
View 1 Replies
View Related
Feb 25, 2004
I have a date bar inserted in my header. The date bar shows up when I use dreamweaver testing. but if I link to another page during testing the date bar is gone. Online I cant get it to show up at all. Code:
View 2 Replies
View Related
Jul 23, 2011
I have a html form that is submitted with a submit button code...
if I display the output using the alert methods(now commented out) they work fine. I was hoping to display my messages in the div with id of output.
When that didn't work I tried to see if I could send anything to the div.
When I click the submit button the message "WTF" appears for at most half a second. I'm hoping to get it to stick around. I'm sure it has something to do with how form submission works. Maybe I need to submit to the same page? can I do that with JS?
View 1 Replies
View Related
Mar 7, 2011
This code attempts to have a blue box appear when red senses the mouse hovering. I can get the blue box to be visible, but when the mouse leaves to hover over the blue box, it disappears! Not good. How do I make it stay?
I want to put a form in the blue box, but at this test, the blue box disappears when the mouse leaves the red bar. I put in code to keep the blue box visible on mouse over, but it conflicts whit the second "red.hide" function, animating open and closed. I've tried to put an "if statement" in the second "red.hide" function, but results were inconclusive.
How do I keep the blue box open?
[code]
<script type=text/javascript>
$(document).ready(function(){
$(".blue").hide(0,".blue");
[Code]....
View 2 Replies
View Related
Jan 28, 2009
When I refresh the page in IE7 this div content is disappearing:
for(cnc=0; cnc<common_name.length; cnc++)
{
var comname = document.createTextNode(common_name[cnc].childNodes[0].nodeValue);
if(common_name.length>1 && cnc<common_name.length-1)
{
comname.appendData(', ');
[Code]...
View 1 Replies
View Related
Sep 16, 2011
How do I prevent my Link from disappearing?? When I click on the link, "Click Here" It display, "Look At Me!!" but the link, "Click Here" is GONE Is there a way to keep my link, "Click Here" from disappearing?So when I click on the link, "Click Here" the content, "Look At Me!!"should display as well.
[Code]...
View 5 Replies
View Related
Apr 30, 2009
I have a javascript alert which pops up when a user hasnt filled in a form ( php ) but when the alert appears the rest of the page behind it disappears and then reappears when the user presses ok, is there a way to stop this?code...
View 2 Replies
View Related
Sep 10, 2011
I'm still trying to figure our why my drop down menu won't respond to the event handlers I have set up; I want the drop down menu to appear as if being pulled down; this works great. But once viewer mouses off the drop menu I want it to disappear and right now it won't.
Here is the link to the page: [url]
Try either menu, it scrolls out fine; but you have to reload the page to get it to disappear. What baffles me is why my function mclose is not working.
Here is the code:
View 4 Replies
View Related
Sep 16, 2011
How do I prevent my Link from disappearing?When I click on the link, "Click Here" It display, "Look At Me!!" but the link, "Click Here" is GONE Is there a way to keep my link, "Click Here" from disappearing? So when I click on the link, "Click Here" the content, "Look At Me!!"should display as well.
Here are my codes
Code:
<html>
<head>
<script type="text/javascript">
[code]...
View 1 Replies
View Related
Dec 7, 2010
See I have called a function in onchange event of a dropdownlist.What happens in the onchange function is that if the value for dropdown has already been entered once, then an alert message will be shown. The problem I have is, if the value has been already entered, when I try to change the value in dropdown, dropdownlist gets displayed (expands) and an alert message gets displayed. When I click "OK" of alertbox first the dropdown gets back to it original form and only on the next click alert box goes. What I need is everything should happen in a single click itself.
Code:
<td>Score <select name="score" id="score" onchange="wgtage(1);validate_values();"></td>
function validate_values()
[Code].....
Here the function wgtage() will populate another dropdownlist depending on the value chosen in the above dropdown. I am talking about the alertbox."THIS IS CAN BE ENTERED ONLY ONCE" in the function validate_values().
View 3 Replies
View Related
Jul 23, 2005
My web page has one unordered list that disappears in Firefox. The
unordered list in question has the class="dir". I double-checked the
source code and verified the markup's semantics. Everything looked
fine. So I placed the code in the W3C validator and it passed with no
errors. Then I placed a regular unordered list with no class before
the previous unordered list. Upon a reload, the new unordered list did
not render, yet the unordered list with the "dir" class appeared. The
whole situation was strange.
After reviewing web page with the DOM inspector, the disappearing list
had been assigned {display: none}. Apparently, my JavaScript for
TreeMenu functionality was the culprit. I attempted to debug the
JavaScript. Sadly, my JavaScript knowledge is elementary even though I
successfully implemented the approach from
http://www.bakketun.net/listmenu/. When my web page became more
convoluted, the JavaScript began faltering along its seams.
Here are my discoveries while debugging (using Venkman). The
elementHasClass() should match the "element.ClassName" with
"TreeMenu." If not, the function return false. Unfortunately, another
function passes the div element to the setMenu(); then the said
function assign the display attribute; block or none.
But I can not pinpoint where the code goes down the wrong path;
needless to say develop a solution.
Please review the site below and let me know if you have suggestions.
View source and search for class="dir"; the disappearing list has the
text "test." Problematic code JavaScript area may include the line
listed below. This posting was intended as a short description.
Further clarification will be gladly provided if someone shows
interest in a particular aspect. I have pages of notes on the
debugging process.....
View 1 Replies
View Related
Jul 20, 2005
I apologize for the length of the page below, but I've tried
to whittle it down as much as I can. The problem is that
Netscape 6.1 on my Win 2K Pro machine is disappearing
the final row of the table.
Opera 7.01 and IE 5 and 5.5 are both OK with the page, and
the offending line is right before the commented out alert line,
but I have been unable to figure why it's happening.
View 3 Replies
View Related
Nov 19, 2010
I'm fiddling around with designing a site and trying to get my JS bearings down. I'm wondering why the second option isn't making the drop down list disappear.
<html>
<head>
</head>
<script language="JavaScript">
function fncShow(){
document.getElementById('box').style.visibility = 'visible';
} function fncHide() {
document.getElementById('box').style.visibility = 'hidden';
}
</script>
<body>
<select name="box">
<option selected>Choose one</option>
<option value="first" onclick="JavaScript:fncShow();">first option</option>
<option value="second" onclick="JavaScript:fncHide();">second option</option>
</select>
</body>
</html>
View 2 Replies
View Related
Jul 20, 2010
I have site which I have been maintaining. The initial drop down menu under teh main menu "profile" appears correctly, the fonts are white. So based on the I created another submenu under "services". Everything is fine except that the font colour on the dropdown menu is not white like the first case.
View 5 Replies
View Related