IE6/7+Vista Check
Nov 17, 2007I run a small personal website and I need to check if my client is reaching my site with:
- IE6 || IE7
AND
- Windows Vista
How can I do? The script should work in Firefox too..
I run a small personal website and I need to check if my client is reaching my site with:
- IE6 || IE7
AND
- Windows Vista
How can I do? The script should work in Firefox too..
So I have this client who has a web form, the form was not made by me, I am debugging it as it has error's it seems. He has had 3 clients in the past two days complain they cannot finish the form, when they get to step 2 and click the button to go from step 2 to 3 they get this error:
Type Error: Unable to get value of the property (error): Object is null and undefined.
Now to me that looks to be JS, but there is no way at all to replicate it! I have tried this same procedure in IE6(XP), IE8(XP), Chrome, FF and it never happens to me ever.
I am pretty sure it's JS related since the form is never reloaded for each page, it's a JS tab paging system for each step.
Now he did finally get answer's from two of the 3 that had problems. They only said they were using IE on Windows Vista. And user's are not the most techie so I have been trying for two days to get info from them and nothing, info like IE version and what toolbar's and plugins they might have installed. Nothing.
So I am left here at this point. Does anyone know of anything related in Vista?
I don't have Vista so I cannot test this. I am testing right now on 7 with IE8 and then upgrading it to IE9 to test on 7 with IE9.
The site is here: [URL]
It's on step two, you get to step 2 by finishing step 1 and clicking on "Complete Application" to go to step 2. It's when clicking on the button to continue from step 2 to 3 that it happens.
As I said I cannot seem to duplicate this in any way.
I was hoping someone had Vista and IE to test for me, since your a coder you can screenshot for me the error and what happens, maybe that will help ha ha
Or maybe this has happened to someone before, the form seems to be using Dojo as it's FW.
Setting and using a session cookie works everywhere else - Mac, PC, IE, FF, etc. - everywhere except with MS Vista running on the machine. I'm not sure what the problem is and a Google search didn't reveal much.
View 1 Replies View RelatedI just finished coding my website. It can be seen here: [URL]
However, in Chrome 6, the bar at the top doesn't stay static, but moves with the page. This shouldn't happen, but I can't work out why.
Also, the options on the top menu are moved to the right on Windows Vista/7 (the OS is the only link that I can make between the computers having this problem).
With both of these problems, after trying for ages to fix it, I still have managed to accomplish nothing. I am also not sure if these problems are caused by the JavaScript, CSS, or HTML.
P.S. All of the CSS/JavaScript files can be found linked in the source.
Does anyone know how to disable print screen using Javascript in Windows Vista and Widnows 7? I search in the Internet and I found the following HTML can disable the print screen in Windows XP, but it does not work in Windows Vista and Windows 7.
<body onload=setInterval("window.clipboardData.setData('text','')",2) oncontextmenu="return false" onselectstart="return false">
I want a function that when you check on a check box another check box appears.
View 10 Replies View RelatedHere is the HTML: [URL] I'm trying to uncheck the selected radio button, then set the value to 1 (Yes), basically overwriting theinitialvalue to 1. I've looked at prop(), val(), and attr(), and just don't know where to start. Should I select $('#set_q157 input') or$('#set_q157 input:radio'), or each individual radio?
Do I need to each them, and check if its checked, then change its value, or is there a way to select all three inputs as just one radial button? It would also need to work if the input has not yet been checked.
i have a list of checkboxes, the number of checkboxes is dynamic. All the checkboxes have same name. i am trying to get the length of selected checkboxes.
<input type=checkbox name=name1 value=1>
<input type=checkbox name=name1 value=2>
........ get dynamically.
when i try to get the length in javascript like document.form.name1.length, it works fine if number of checkboxes selected are more than 1, but not for 1.
I have a code that I got from a tutorial website. The goal is when someone clicks the first check box with the value of yes then the two other sets of check boxes will autmatically be checked for no.
The issue is their are three sets of 2 check boxes each.
So here is my code code I am trying to use
PHP Code:
Here is my form code
PHP Code:
So Ideally when a representative clicks that the customer has three services (clicks the Yes checkbox) all the other checkboxes will default to No.
How I would change the above javascript to do this.
I am a php programmer and not a Javascript programmer and I am trying to help a friend out with his shopping cart. The original programmer (who wrote this years ago and is no longer around) has a button that looks up the quantities in the database for the submitted items, and then displays a prompt if you selected a quantity that is less than the minimum purchase amount.The issue is if the user enters a smaller amount than allowed and hits the enter key instead of the "Buy" button, it allows the order.how to use the current code to also check for an Enter key submission.I can handle the PHP and the db lookup for minimum quantities. Here is the page code and the Javascript code.
Code:
<a href="javascript:checkQuantity(document.form<?php echo $formCount; ?>,
<?php echo $row_rsProduct['lotQty']; ?>,
[code]....
I have an .asp page for my customers which does just accepts e-mail information and passes this information to another .asp page. But before passing the info, a javascript checks whether the entered e-mail does match some certain rules. Rule1: If any input has been made at all, Rule2: If an "@" sign is there, if the"." is there and so on. upon pressing the submit button, the first rule works but the second rule does not. Could not figure it out why.
[Code]...
It is the function control() which validates the e-mail field. But it just validates whether the e-mail has been entered or not. The second check (with the @ sign) is not being made.
I'm working a bunch of pre existing code on a CMS. Just after a quick fix. Doing a show/hide thing on a particular div somewhere on the page depending if a checkbox is ticked or not.Currently there is 3 checkboxes that are dynamically added through the CMS. Here's simplified version of the form:
<form id="simplesearch" name="simplesearch">
<input type="checkbox" onclick='showhidefield(this.value)' name="meta_data_array_search_criteria[custom_profile_type][]" value="5" class="input-
[code]....
<input type="checkbox" id="priority" /><span class="presult">0 USD</span>
I want when checkbox is checked, the span will have 500 USD. When checkbox is unchecked the span will return 0.This is what I've got, have no idea why not work.
Code JavaScript:
if ($('#priority').is(':checked')) {
$('.presult').text('500 USD');
[code]......
i need to check to see if my check box is checked, here is my code...
echo "<form id='form1' name='form1' method='post' action='".$href."' onsubmit='return checked_room()'>";
while($row = mysql_fetch_assoc($res))
{
[Code]....
now for some reason i can't get the javascript to work within the function.
How can i select max 2 check box from 10 check box.following code i used for check box
PHP Code:
<input type='checkbox' name='r1[]' value="<?php echo $bno;?>"?>>
What code can be design in JS
Here is my function
<script language="javascript">
document.form.B1.disabled = true;
function changebutton(){
if (document.form.C1.value = "ON"){
document.form.B1.disabled = false;
return true;
}
else {
document.form.B1.disabled = true;
return true;
}
}
</script>
So far it's doing what I want it to do, when the document loads it disables
the button, and when the check value is clicked it would enable the button.
Now here is the problem, when I uncheck the checkbox the button is not
disabled.
Is there a way to check what the URL bar is = to? so if it was equal to [url] it would change something on the page?
View 12 Replies View RelatedI have a site of classifieds ads user is choosing what he want to see/search and then a table is printed on the screen(with all the requested results)Is there a way to add a "CHECK BOX" to each of the ads and the user is checking what he wants to see later on.after he will have a button "see my checked ads" and a page will open with ONLY the ads that he checked before.
View 3 Replies View RelatedWhat is the best way to validate a field as a positive or negative
integer?
Is there a way for Javascript to check if a document CSS id exist anywhere
on a page, for example, if "bla" exists?
I can't get a checkbox to check when the
value of a text field changes to something greater than 0.
<script language=JavaScript>
<!-- Begin
function sel_comm(comm_val)
{
if (comm_val > 0)
{
document.inhouse-f2.add_comm.checked = true;
}
}
// End -->
</script>
<INPUT TYPE="checkbox" NAME="add_comm" ID="add_comm" VALUE="1">
Commission: <INPUT TYPE="text" NAME="item_comm" ID="item_comm"
size="6" onChange="sel_comm(this.value);">
I just don't get why it's not working. I must be missing something,
but I have no idea what. The FORM tag's NAME and ID elements are
"inhouse-f2". What else could it be?
I'm building a multi-language PHP/mySQL -site. I'm also building a CMS for the site.
There are 5 languages. In the CMS fields for e.g. english
bodytext are called (id=) 'bodytext_en'.
German looks like 'bodytext_ge', etc.
The '_en' part tells us that it's a textfield for english texts.
How can i check if ALL english fields are filled out, without
defining each and every field separately.
Like:
if(document.(allfields.'_en').value == ''){
alert('Hey!')
};
I'm using the following code for a checkbox that when clicked, either
checks or unchecks a group of checkboxes on a form. The code works
fine, except when there is only one checkbox in the group in which case
the check all checkbox doesn't work at all.
The code working with three checkboxes in a group is as follows, but
remove two of the three and you will see the code stops working:
<script language="javascript" type="text/javascript">
function checkAll( control, cbGroupName )
{
var cbGroup = control.form.elements[cbGroupName], i = 0, cb;
while( cb = cbGroup[i++] )
{
cb.checked = control.checked;
}}
</script>
<form>
Check all
<input type="checkbox" this,'select[]' );" >
<br><br>
<input type="checkbox" name="select[]" value="234">
<input type="checkbox" name="select[]" value="235">
<input type="checkbox" name="select[]" value="236">
</form>
I have the following HTML code which is doing a GET to a page, say
MyUrl.aspx :
<body>
<form name="form1" method="get" action="MyUrl.aspx" id="form1">
<input type="hidden" name="ClickedElement" id="Messenger" />
</form>
</body>
where the the Submit() is done within a javascript function invoked at
onclick on some element.
My question is: How can I prevent form submission when MyUrl.aspx is
not available? The javascript function is:
function Clicked(MyControl)
{
var _CellContent = document.getElementById("Messenger");
_CellContent.value = MyControl.id;
document.form1.submit();
I'm looking for a javascript which will check all boxes with the same id if one is checked.. For instance:
Box 1 id=this
Box 2 id=this
Box 3 id=that
Box 4 id=that
If I click Box 1, it should also check box 2.. If I uncheck box 1 it should also uncheck box 2...I have to do it by id instead of name and cannot seem to get it to work.. These are input flags with type=checkbox....
The code below puts a link in mydiv when the page loads if myvar equals 1. Great till here, but if myvar changes its value and it does not equal 1 any more I have to reload the page in order not to see the link. What do I have to do to avoid that reload? what do I have to do to check myvar's value for changes constantly?
[Code]....