I try to get round corners for textbox. But how can i get it. Here is the class
.tbox
{
float:left;
width:200px;
margin-top:10px;
margin-left:10px;
}
when i call using jquery using
$('.tbox').corners("4px");
it is not working. I already included Jquery.js and jquery.corners.js. But its not working. Any help would be appreciate...
Should be light in size and have an acceptable UI.
...
hi
i have several videos on my server and three thumbnails for every video what i want is if i put mouse on the video it shows(play) all the thumbnails of that video
thanks
...
Hi,
Im trying to implement a tab menu just like the one in stackoverflow. I created html list and style them to look like tab menus using CSS. I put the html list on the master page. Now the problem is that How do you change the color of the list once it's clicked by the user? For example, If you click the stackoverflow "Users" tab menu...
What if I want not only to add events for all future added, but also want to put some data in them, execute it as an init event for them. Is there possible to use something from live tools?
...
I have some code that I'd like to run on a page. My problem is that I don't want it to be run more than once at any one point. It can run multiple times, but just not while another instance of itself is running. I'm using jQuery and loading ajax content.
I just need something that prevents users from clicking hundereds of times and buil...
I am trying to pass one variable to a jQuery function inline (ie: using an onMouseOver="function();" within the actual link (which is an area tag from an image map)).
The function is only being called if I place it before the $(document).ready(function(){ line, but doing this is causing all sorts of problems with jQuery.
All I want is ...
hello all, I am building a web based trading system where buy and sell signals would be generated by reading quotes from either Yahoo finance, google finance or the exchange(NSE of India) itself.My first preference would be to fetch data from this url:
http://www.nseindia.com/content/equities/niftywatch.htm
the page on the site uses ...
Below is a small snippet from a code I saw with jquery and PHP.
Notice the PHP part on line 5, I generally put my javascript into separate files so how would I be able to keep my JS in separate files but still use PHP when needed like below?
//when the DOM is ready
$(document).ready(function(){
//settings on top
var domai...
I've been trying to figure out how the "live search" function at http://www.codeandtheory.com/#/work/ works. I've looked at in firebug, and have looked at a bunch of AJAX search tutorials but codeandtehory's seems to work a lot "smoother". Any ideas?
...
I'm trying to write a blind function that would close a DIV in a display:none mode.
The unseen DIV is inside a wider DIV, containing the blind trigger.
This:
$(document).ready(function(){
$("#toggle_blind").click(function () {
$(this).toggle("fast");
});
});
Well, this blinds the button. How can I add a DIV to $this? Som...
I am working on a comment script using PHP and jquery.
My jquery post data to my php backend script, on success I need it to insert the results that the backend script sends back.
Right now I have everything working except the part that adds the comment to the page I am stuck. I can use something like this;
$('#comments').prepend(d...
Hi all,
I have the following code demonstrating contenteditable property and a button that will inject bold text into the paragraph with contenteditable area. My question is how to return focus to where i left off after clicking on bold, if you highlight some text, and click bold, it'll bold those text, but the focus will not be there a...
Hello!
I'm setting up a jqGrid which needs to visualize multiple values in one cell. The input comes from a form where the user can select multiple choices. I am able to display the select box, but not populate it. I have tried to insert an array in the JSON object, but to no success.
This is the model:
index:'ship', editoptions:{mult...
How can you add the class red to the class question_body when the question is removed?
JS in HEAD
jQuery('a.delete_question').live('click', function(){
jQuery.post('/codes/handlers/delete_a_question.php',
{ question_id: jQuery(this).attr('rel') },
function(){
$(.question_body).addClass("red"); /...
I'm making a form that I'm using the amazing JQuery validation plugin for (http://docs.jquery.com/Plugins/Validation/).
This form allows people to make donations and to specify if they will be paying by cheque or credit card. I use radio buttons to show either the credit card asp panel, or the cheque asp panel.
My rules and messages...
I previously got this (useful!) answer about using .next() for same DIV blind effect.
However, I can't seem to get this simple function to work for more than one DIV at the same time:
$(document).ready(function(){
$("#closeButton").click(function (){
$(this).next().toggle("fast");
});
});
Any ideas? Thanks.
...
<script type="text/javascript">
var dataString2 = 'run=captchagood&comment=' + comment;
$.ajax({
type: "POST",
url: "process.php",
data: dataString2,
dataType: "json",
error: 'error',
success: function (data) {
if (data.response === 'captchasuccess') {
$('div#loader').find('img.load-gif').remo...
i have an array:
arr = ['a', 'b', 'c', ... ]
i want it to be:
<div>
<ul>
<li>a
<li>b
<li>c
...
</ul>
</div>
so i'm trying:
$('div').append('<ul>');
$.each(arr, function () {
$('div').append('<li>' + this);
});
$('div').append('</ul>');
but doesn't seem working... how can i queue this?
...
Hey guys,
I've read several posts about this issue but i can't solve it.
I am loading an html file into a div. The file i am loading contains a unordered list.
This list should be expanded (a menu with submenu items) and closed. Therefore i need js.
But unfortunately this script isn't loaded.
Can anyone help me?
Would be so great! Th...