We use the following code to select a choice value from a radio button group. Sometimes the radio button doesn't get selected properly, if you click in between the radio button control and the choice in a horizontal layout (this behaviour is consistently reproducible). How do I ensure that the value gets selected if I click anywhere on t...
When jquery is running this is not going "success" this is going in "error" section.My php file is on another server.code is like below.
$(document).ready(function() {
//if submit button is clicked
$('#recaptcha_reload').click(function () {
var data ="publick="+document.getElementById("publickeyval").value+"&privatek=...
Hi,
If I have the following
var url = this.data;
$.get(url, {}, function(data){
alert(data);
});
I'm successfully able to iterate through and alert the following:
<a href="javascript:void(0)" id="arboretum-smith" class="bullet" rel="251-195"> </a>
<div class="popup" id="arboretum-smith-box">
<h3>Title 1</h3> ...
I'm making a scroller plugin n i'm using setInterval function for continous scrolling and i wana know that can we call setInterval function in jquery with some object
...
This currently works:
$(document).ready(function() {
$('body').addClass('red').delay(50).queue(function(next){
$(this).removeClass('red').delay(50).queue(function(next2){
$(this).addClass('blue');
next2();
});
next();
});
But I'd like something more efficient. And plus, the code above becomes ...
$("#notification").slideDown("slow").delay(2000).slideUp("slow");
.. works, but I want to add a condition so that if #notification is hovered, the timer/delay is stopped until mouseout. Then On mouseout the timer starts and then eventually the element is hidden (unless its not hovered again).
Thanks!
...
Hi,
I have a form with too many fields. What I am trying to do, is first do some validation using jquery; which is working fine so far.
I have an event handler "onclik" which validate the file type that uploaded by the users, and if the file is not image shows a message to the user. If the file is good it should send some data to the ser...
I need to open an iframe (Frame 1) and from frame1 i need to open frame2 using jquery colorbox.
I have used the following script from a page to open frame1:
function ViewUser(Id) {
$.colorbox({ href: '/user/View/' + Id + '?popup=1', iframe: true, width: "100%", height: "100%", title: 'View User', overlayClose: false, escKey: fal...
Hi guys, bit of a pickle here:
Got a large jquery.cycle carousel, the slides of which are div elements with loads of stuff inside of them.
Rough markup:
<div id="carousel">
<div class="slide">slide content</div>
<div class="slide">slide content</div>
<div class="slide">slide content</div>
</div>
The problem is that the "...
I use the standard jQueryUI slider and want to change the appearance of the handle.
I changed the CSS to
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 40px; height: 10px; cursor: default; border: 0; background-color: #c6c7c8; }
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display...
I have some javascript and am creating some html on the fly. What I want to do is add an event handler to each control (they are all “Input” controls) so that if I click on any of them they all fire the same event. I first define a delegate in the initialize section of the code like this:
this.rule_event_handler = Function.createDelega...
How do I multiple the value of one input by 2 and save it to another input?
So when I type 10 (for example), the value of the 2nd input will be 20?
Thanks
...
I'm working on a website and part of it's code (jQuery related) was written by another programmer. Now in IE7 some links look like this (at least that's what Developer Tools shows me):
<a href="#" id="id1" jQuery1284452043889="13">some link</a>
<a href="#" id="id2" jQuery1284452043889="14">some link</a>
I'm not good at JS, so could yo...
After testing AjaxFileUpload Plugin I discovered that it does not let me retrieve $_POST data, as the plugin only submits $_FILE data. Therefore I turn to jQuery Form Plugin which is documented here: http://www.malsup.com/jquery/form/#file-upload
Unfortunately, I feel the example is poor and doesn't really help me. I need to use IFrame ...
Hi All,
How can I get the start and end selection indices in browsers other than IE in contentEditable 'div'. For Ex., IE has the following method.
var oSelection;
var oTxtRange;
var units = -100000;
var iStartIndex = -1, iEndIndex = -1;
if(document.selection) // IE..
{
oSelection = document.selection;
oTxtRange = oSelection....
Hi,
i have a problem with the jquery each method.
My Object
first_obj = {};
first_obj[11] = new Array('http://blub.de', 'hsdfe', 'hsdfe' );
first_obj[54] = new Array('http://blub.de', 'sdfe', 'hsdfde' );
first_obj[99] = new Array('http://blub.de', 'sdf', 'sdfde' );
Get Results and insert it into the object "second_obj_results"
...
I have stolen/found/used/written and edited the following widget of jQuery for a auto-completing dropdown.
(function($) {
$.widget("ui.comboboxGemeenten", {
_create: function() {
var focushelper = false;
var lastTerm;
var self = this;
var select = this.element.hide();
...
I have a multiple selection list which have more than 5 options. But i want to restrict the selection of the options to 2 or 3 options. How to do it using jquery? How to get the count of selection options in multiple selection list? I am using jquery validation plugin.
Thanks in Advance.
...
Hello I'm having XSS Vulnerability using jQuery's .append() function
what I'm doing is appending raw chat messages coming from users and I don't want to strip html tags serversided or clientsided I just want to display them. Yet jquery's .append() method renders the html markup.
anyway to do like appendText()? I tried .text() but it do...
How can I read the username and password from http GET in .NET MVC controller? I am using a jQuery $.ajax call and I am passing username and password in as a setting.
Is this secure?
If my server is ASP.NET MVC 2 how can I retrieve the username and password from the request?
My end goal is to make a secured jsonp call.
here is ho...