Hi ,
I am using jquery 1.3 version
<div id='mainPanel'>
<div>
<h3>Head #1 <a href="#"><input type="text" value="Type 1"/> </a></h3>
<div>
<div id="panel_1">
<div class="items">
<div><input type='text' value="0"/></div>
<div><input type='text' value="1"/></div>
<...
Hello,
everytime when i try to add javascript in a hta file with vbscript it comes an error message when i click the submit button:
object doesn't support this property or method
I try this
<script type="text/javascript" src=""></script>
and this
<script type="text/javascript">
...code
</script>
Is there anyone w...
Hi there,
I'd like to be able to create a type of folding in xhtml textareas using Javascript/jQuery. For example, given the following text:
ABC [123] DEF
I'd like to have [123] reduce to [] when the cursor is not over it - i.e. for a cursor |:
ABC [] DEF|
AB|C [] DEF
ABC [|123] DEF
ABC [12|3] DEF
I want the content within the br...
Good day,
I'm looking to start learning a scripting language for web audio and sound development. It needs to be able to handle simultaneous audio events, eg; to trigger a sound when another is playing (I'm not sure if and how this is possible, but have witnessed this kind of presentation: http://www.projectiva.co.uk/ (can this kind of...
There seems to be a bug in IE when cascading dynamic stylesheets. Does anyone know if there is a workaround? Consider this:
<head>
<style>#test{background:red;}</style>
</head>
<body>
<div id="test">test</div>
<script>
var link = document.createElement('link');
var style = document.getElementsByTagName('style...
NOTE: I'm using v3 of the Google Maps API
I'm trying to add an info window to each marker I put on the map. Currently I'm doing this with the following code:
for (var i in tracks[racer_id].data.points) {
values = tracks[racer_id].data.points[i];
point = new google.maps.LatLng(values.lat, values.lng);
if (val...
Hi folks,
I'm trying to create a link that points to URL 1 normally and to URL 2 when the shift key is held down. I arrived at this code sample, which properly switches the links (as indicated in the browser status bar when hovering over the link), but clicking on URL 2 doesn't work: the browser just doesn't do anything. That's right: a...
I have the following namespace (com.myCompany.myProject):
var com = {
myCompany: {
myProject: {
x: 1,
y: 2,
o: function() {
}
}
}
};
For example, I have the following code:
var self = com.myCompany.myProject;
How can I show this namespace as a string, e.g. "com.myCompany.myProject" ?
I've tried ...
Hi,
I have an array of two urls that I read and feed into an iframe src value using:
document.getElementById("iframe").src = unescape(dashboard.url);
Immediately after this line, I issue an alert(document.getElementById("iframe").src), which all works fine.
My problem is, is that the first URL in the array seems to load correctly an...
Hey all,
In the below javascript, "this" refers to Car object and search_id refers to the input text field with an id of "search_input". So basically the user types in text in the field and a search occurs based on the input. Now I understand that the val() method is grabbing the user input string from the input field. However, I am not...
I have a Asp.Net control inside a updatepanel thet is inside a modal popup.
I wont to register write javascript code in client from the control code.
these is my code:
Dim output As String = .. javascript code
Page.ClientScript.RegisterClientScriptBlock(Me.GetType(), "frmulaMatrix", output, True)
these is my second thinf but dont wor...
Hi,
I have a donation form which users fill out and I would like to then send the user to the charities own website with their information already filled in. Is this possible?
thanks
...
Hi,
a little misunderstanding with JQuery and JS variables. Simple example:
function someFunc(){
var flag = true;
$(function(){
$.post("/some/address/", {} ,function(data){
if( data == false){
flag = false;
}
});
});
if(flag == false){
return fal...
Hi,
i am having a server control (Asp:Label) and i want to apply the css class dynamically
but it is applying to the label in all browsers except in IE7
in all browsers the dynamic css classes are applying but in IE7 it is not applying
can u give any solution or any alternate solution
Thanks and Regards,
Vara Prasad.M
...
I was wondering what the differences/benefits of the packer vs the minifier were, i.e. Should you deploy a packed or minified version in your web app?
Example code:
var layout = {
NAVVISIBLE : 1,
Init : function()
{
this.Resize();
},
Dimensions : function()
{
var d = document, s = self, w, h;...
I'm looking for an information popup box like here on this site:
Yahoo answers example
Here if you hover mouse on question author or answer author usernames small nice popup box will appear, that queries some information with ajax. I need exactly the same thing... I need to display small popup box when the mouse is over the link and ca...
Hey,
I need to send a byte array from javascript into a c# page method. The int and string variables work fine, but when I step through the c# code, the "object" which was the byte array is null, even though I checked to see if it had a value in JS.
var byteArrayObj = GetBinaryDataFromFile(filePath);
var tranAttachmentName =...
So I had a thought today. I generate CSV from data already in memory in my JavaScript application, then pump that data to the user's browser via a File download prompt -- all in JavaScript --.
Is this possible?
...
I have a CMS where people can paste the code to embed a YouTube video. The problem is, the CMS uses jQuery lightboxes as modal popups to edit things, and the YouTube embeds are appearing over top of the popup window.
I have read in many places that elements don't respect the z-index property and just stick themselves on top of everythi...
Hey there,
these two selectors is not working in Internet Explorer 8 (they work okay in Firefox, Safari and Chrome).
$(this.children).stop().animate({ color: "#4B2B26" }, 300);
$(this).find('a').stop().animate({ color: "#4B2B26" }, 300);
Help is appreciated, thanks!
edit; I think it's a problem with jquery.js.. Each time i hover a o...