I would like to make a modal window using prototype and scriptaculous. I was wondering if there is any site that has a tutorial or if anyone could kinda give me some idea where to start. (I don't want a prebuilt one)
...
Ok, I have this thing working. Rollover the links and it changes the banner/pic. Fantastic. Question is this: How can I change the text from 1,2,3... to whatever I want? In addition, how can I apply background images, hover, and active treatments. In the example at http://malsup.com/jquery/cycle/pager5.html, I am using the #nav a {blah, ...
Hi,
I want to implement different CSS style sheet using javascript or code behind on aspx page so that for different web browser my page look better. Can anyone have some solution about this problem? I try a lot to implement that but failed.
...
Hi,
I m using JQuery in my application . I am trying to implement autocomplete feature on my text boxes. I m having a code like below. Here each time applyAutoComplete funcion is called i have to make the autocomplete ready for the text boxes passed along with the previously active text boxes.
Now what is happening is, the autocomplete ...
I am using JQuery for some drop down nav funtionality. Worked great. Now I just added the Cycle JQuery Plugin and I can only get one to work at a time depending on which order I list them in the head. I have read about the jQuery.noConflict(); function but not really sure where to put it. Here is what I got.
HTML
<head>
<title>#</...
Using Javascript (or Ajax) I want to connect to a page (a .php page) every 10 seconds. This will be done in user-side (browser) within a web page. Just, I'm trying to see the online users. I have about 1-2 visitors daily, in my personal web site.
...
I see this question asked a lot in the related questions, but my need seems very simple compared to those examples, and sadly I'm just still too new at js to know what to remove...so at the risk of being THAT GUY, I'm going to ask my question...
I'm trying to switch out the div contents in a box depending on the button pushed. Right no...
hello everyone,
I have a triggered javascript function to hide "dd"s which have the same class name. But the problem is, sometimes, only the dt is left alone. For example, the first dt dd block, when I hidden the all 3 dd's. the dt (today) one is still there. I want to hide the dt too when no dd is associated. How can i do that?
thank...
i have a table like
<table>
<tr>
<td>Sr. No.</td>
<td> Name</td>
<td>$nbsp;</td>
</tr>
<tr>
<td>1</td>
<td>abc</td>
<td>remove button</td>
</tr>
<tr>
<td>2</td>
<td>xyz</td>
<td>remove button</td>
</tr>
<tr>
<td>3</td>
<td>def</td>
<td>remove button</td>
</tr>
onclick of ' remove b...
i wrote this script
$.getJSON('<%=Url.Action("JsonSave","Controler")%>',
{ id: newRow.Id, personId: newRow.PesronId},
function(data) {
$('#grid').trigger('reloadGrid'); //{0}
$('#grid').editRow(rowCount); //{1}
})
what should i do so that {1} would be executed exa...
Is it possible to disable the context menu in qooxdoo?
...
{id:1,name:'test'}
or
{'id':1,'name':'test'}
I've seen both of them used many times and now I'm confused!
...
What are the JQuery bad/worst practices you have seen, written or thing should be avoided?
...
What are these two? I've yet to find a good explanation of either.
...
Because the page I am working on is an intranet page, my AJAX call is very quick along with the response. For usability purposes I'd like a short 1-2 sec pause to display a loading animation. Below is what I have tried but the animation is barely visible.
$(document).ready(function(){
$('#wait').hide();
$('#submitform').click(f...
A recent new jQuery version has been released, the jQuery v1.4. You can read all about it here. It allows you to do some pretty neat stuff such as:
$("div.test").bind({
click: function(){
$(this).addClass("active");
},
mouseenter: function(){
$(this).addClass("inside");
},
mouseleave: function(){
$(this).removeClas...
I have a webapp build plan running on a Continuous Integration system (Atlassian Bamboo 2.5). I need to incorporate QUnit-based JavaScript unit tests into the build plan so that on each build, the Javascript tests would be run and Bamboo would interpret the test results.
Preferably I would like to be able to make the build process "stan...
Hopefully a quick answer for someone, but my google-fu has deserted me.
In vbscript I can use "setlocale" to set the locale a script is running in. I need a javascript version.
So for example, say my user is using a browser with french settings, but I want numbers and dates to be in english and worked with as if they are english. Then ...
<html>
<head>
<script>
remove_line(11);
// This should remove the line 11 from source code,
// eliminating the unordered list element.
</script>
</head>
<body>
<p>Some text</p>
<ul><li>Some list item</li></ul>
<a>Some link</a>
</body>
</html>
I am totally aware that this code hurts your eyes. However,...
I have to call a callback method in iframe to return a value to opener.
I know SqueezeBox has "assign, open, close" static methods, but I do not understand how it works, can someone help me please?
...