Hi,
I want to create a hyperlink that does not link to any page. When clicked it executes a javascript function i have defined.
So, i created a link as follows:
<a onclick="fun()"> SomeText </a>
But, the mouse pointer does not change to the hand symbol when we hover a mouse over the link.
So, i changed the link to
<a href="#" oncli...
What are the scan codes for:
PageUp
PageDown
Up Arrow
Down Arrow
Space Bar
...
Hi
Its kinda difficult to get into Web development. I've been working on winforms for the last 5 years. So i'm struggling to switch from the one to the other. Some time ago, I worked with JavaScript, but no-a-days there are tons of JavaScript libraries - JQuery, JSON, MooTools...
My Question:
Perhaps this is a stupid question. What ar...
I'm trying to use the following js to change the width and height of a swf.
$('object').attr({'width':100,'height':100});
$('object embed').attr({'width':100,'height':100});
The script works well on firefox, safari, IE8. However, it doesn't work on IE7.
Is there any solution?
...
Hi,
I have a text widget in my wordpress blog. Inside the text widget, i have a link. When mouse is hovered over the link, the link text shows up in the status bar.
To prevent the link text from showing in the status bar i tried using:
<a href="#" onmouseover="window.status=''" onclick="fun();return false;" > </a>
But, still the lin...
Hi there,
for past two hours i've been trying to pass responseText to the object i'm calling Ajax.Request in. And it just isn't happening :) Here's the code;
var traziSuggest = Class.create({
initialize:function( elemenat, sugDiv )
{
this.elemenat = $( elemenat );
this.elemenat.onkeyup = this.uzmiSug.bindAsEventList...
Is it possible to tell jqGrid to send all search options in JSON format ? Hence I won't have to reformat it on the backend side.
...
This code
function bookmark(url, title) {
var a = document.createElement('a');
a.setAttribute('href',url);
a.setAttribute('title',title);
a.setAttribute('rel','sidebar');
a.click();
}
doesn't work in Opera 9 and 10. It just takes you to the page I set in url param.
Is there code compatible with Opera?
...
Hi. I need to create a popup in my web app to load a unity file. For that I'm using Javascript's Window.Open.
I don't want the user to see the popup's URL or to give him the chance to alter the URL.
According to this link:
http://javascript.about.com/library/blpopup10.htm
"location can be set to yes or no to
indicate whether or ...
I'm working on an app that uses this to open the homepage of the application after they have successfully entered the login details:
window.open("app_homepage_url","myApp","toolbar=no,status=yes,scrollbars=no,location=no,menubar=no,directories=no");
This normally works as expected and hides the toolbar but one user has reported that t...
hi,
I have a blur function already attached to my dropdown, now I want to call another function onchange after my blur function is called in javasript.
<select onchange="CheckAccommodation(this)" onblur="return UpdateFormSelect('UpdatePrice.aspx', 'BookNow_accommodation1', 'select', 'BookNow_accommduration');javascript:test()" id="Book...
I have a table with rows in, and each row has a few <td> elements. The last element has a checkbox in.
They are in a <div> which is set to runat="server". I have another checkbox on the page called "chkAll" that when clicked, I want to javascript check or uncheck all of the checkboxes in my table.
I'm not very good at Javascript, so I a...
I am trying to use the timeout function within a jsp. But it doesn't work.
<script language="javascript">
function hol_logs() {
var myAjax = new Ajax.Request(
"getlogs.jsp",
{ method: 'get',parameters: 'jobId=<%=job%>', onComplete: zeige_logs }
);
setTimeOut("hol_logs()", 10000);
}
function zeige_logs( orig...
Hi all,
I have a web page
http://www.maryveale.com/sculpture/index.html
that loads a js at /media/js/bill-studio.js
that causes the following problem.
When the web page is loaded there are some images shown.
Clicking on the first image should open the page /sculpture/1986/index.html
and it does if you right click open in new window, ...
I trying to make the AJAX request time-out if the web server goes down. Does anyone have a good way of doing this?
...
I would like to make a Handler that takes all of my Javascript files i need and compresses and merges them, something like the scriptmanager of asp.net does.
Is this possible? i thought on an .ashx handler, but i'm not sure if this works..
would be cool if you also could do this with the css files.
...
Can any tell me is there any way that we can pass values using javascript that would execute in manipulating data in DBase
...
Hi friends,
I'm not very skilled in web developing by the moment but i've managed to create a web application with PHP that queries a MYSQL Database and shows data in HTML.
I would like to check if the table has changed using a timestamp field that I already created and that updates on every insertion. Comparing two timestamps (the pre...
Hi all,
I am trying to retreive the value from select tag for selected option in Javascript
This is working fine in Mozilla but not in IE7.
Example:
function uploadFiles()
{
var x = document.getElementById('fileName').value;
alert(x);
}
...
I dont know what this is called, but you have 2 lists, and a button(s) in the middle to switch options back and forth.
Question [a] What is this called.
Question [b] How do you make one.
...