I have a java applet running in a browser that is calling some javascript functions and expecting a result from theses functions. This is working with the following configurations :
Internet Explorer
FireFox / Windows
Safari / Mac
BUT It's not working with Firefox on MAC OS
The source of the problem seems to be the win.eval calls th...
Can We insert javascript in a report rendered by sql reporting services?
eg:- when mouse over happens over a cell i would like to open a div as in case of ajax modal popup control usage.
...
I would like to do a jquery function that when window resize, it search div with css-class name "taskbox" and set the max-height to the parent div height - current offset for the taskbox to be able to be smaller than the available space but do not extend it.
...
Hi. I've got a JavaScript running 2 ".getElementById('').style" changes. Both work perfectly in FF, but the first one doesn't work in IE7.
Appreciate all help :)
First SourceCode:
function ingen() {
document.getElementById('merInfo1').style.display='none';
document.getElementById('merInfo2').style.display='none';
document....
The setup:
I have a suckerdiv menu with links that call a function. Said function looks like:
function F(string)
{
var s = '';
var c = '';
var t = '';
if(string == 'cat')
{
s = "cat";
c = "animal";
t = "fluffy";
}
// ...
document.getElementById("title").innerHTML = t;
document....
Hello guys,
Your favorite French is back^^ I have just a small question.
In the YUI examples, this function allows to get information, I am not sure to understand what are reference done by myHandler :
var myHandler = function(sType, aArgs){
myAC = aArgs[0]; // reference back to the AC instance
elLI = aArgs[1]; // referenc...
This code surprised me yesterday and I'm curious about what was going on.
If I refer to a Div element that I know is on the page in a Form, even copy/pasting the exact name, using getElementsByName the following could would not find it.
var coll = document.getElementsByName("txtState"); //coll will be null
If I get all the Div tags o...
I'm using JScript.NET to write scripts in a C# WinForms application I wrote. It works really well, but I just tried putting some exception handling in a script, and I can't figure out how to tell what type of exception was thrown from my C# code.
Here's some example JScript code that throws two different types of CLR exception, and then...
I'm viewing HTML in an SWT Browser widget. I am appending logging messages to the end of the content and would like to keep the bottom visible all the time. Currently, whenever I append text to the content, I first set the new text:
browser.setText(content);
And then I scroll down the Browser widget via JavaScript:
browser.execute("w...
I'm looking for problems I can generalize, recognize later (in design), and say "Hey, if I continue down this road I'm going to hit trouble. PHP + JS just weren't meant for this."
If I'm using PHP+JS.. what can't I do? What shouldn't I attempt? What do you suggest instead?
Thanks!
...
I need to debug a web application that uses jQuery to do some fairly complex and messy DOM manipulation. At one point, some of the events that were bound to particular elements, are not fired and simply stop working.
If I had a capability to edit the application source, I would drill down and add a bunch of Firebug console.log() stateme...
Not exactly sure why this is happening, but upon click of a button I call a JQuery Ajax control, after that I do not want to continue submitting the form, but before the page gets still submitted.
<asp:ImageButton id="btnContinue" OnClick="btnContinue_Click" runat="server" OnClientClick="return false;" />
and the jQuery:
...
Actually this question is based on a Blog Entry, which discusses the topic for FF2.
But how does this work with FireFox 3?
I know that there must be a workaround, because recently I visited a site saying:
"Please disable AdBlock+ before entering this site" :(
...
After converting an ASP.NET webform (v3.5) to use a master page, I started getting a strange Javascript error.
The content page has a block of javascript. Here it is:
<script type="text/javascript">
var attCount = 0;
function CreateAttachmentControl() {
var newAtt = document.createElement('span');
var newAttN...
Hi,
I am trying to make a menu that has many links and each link has its own sublist, this is what i am using..
<body>
<div id="menu">
<a href="#"><li>users <br /></a></li>
<a href="#"><li>product <br /></a></li>
<a href="#"><li>movies <br /></a></li>
<a href="#"><li>clips <br /></a></li>
<a href="#"><li>teaser <br /></a></li...
Hello,
I could really use some help with what I have a feeling will be some pretty basic jquery, but I'm stuck all the same.
I have an unknown (dynamically generated) number of divs in my html each with a class of "page".
What I want to do is add an id to each div.page, and then fill a ul with an id of menu with li for each div.page c...
Is there any way to stop Firefox from submitting a form on a Javascript error?
I mean I know I can use an alert box or firebug to stop it from doing so, but...not all pages that people work on work with Firebug, and that alert box is just annoying...
Maybe there's a setting in about:config? I could twiddle with?
...
I'm trying to write some simple chat client in javascript, but I need a way to update messages in real time. While I could use the xmlhttprequest function, I believe it uses up a TCP/IP port on the server and possibly more importantly, is not allowed on my current hosting package. It doesn't seem like an ideal solution anyway as it seems...
Hi all,
I have problem with login validation using javascript. When the user doesn't provide any username or password the pop up message is showing please enter the username and password. I want that when user doesn't provide username the pop up message will come please enter the username, then if i press OK button cursor should go in t...
I'm trying to do a simple ajax update of a div from a php file that gets data from a mysql database. One function populates the div, the other adds messages to the database and is called on click of a submit button. I was wondering if someone could give me their equivalents in jquery. Below are the prototype versions.
<script>
function...