Hi all,
I need some help in getting started with jQuery and autocompleting a username for example.
$('#username').replaceWith('<input id=\"username\" type=\"text\" name=\"user_name\">');
My first aim was to replace #username(dropdownbox) with a textfield.
I already figured that out.
My second aim is:
Username: Faili
Username: Feli...
I'm using AjaxControlToolkit.HTMLEditor, and I want to add value to it using javascript or jquery like this:
alert( $find("eCompose_ctl02_ctl01")); // if
$find("eCompose_ctl02_ctl01").attr('value') = "asdfasdfasdf asdfasd asdf sf";
also tried like this:
document.getElementById('eCompose_ctl02_ctl01').value += "ababsakas asdasd l"...
Hi,
I have a collection of child div's inside the parent div,the child div's are generated dynamically and all has the same class name.
My question is how to apply different background color for each child div using jquery
sample code below
<div id="someid">
<div class="bar">...</div>
<div class="bar">...</div>
<div class="bar...
I am having a table and i am adding rows dynamically in to it using the following code.There is a dialogue box which is having a yes and a no button.The problem is that i need to ask some thing through that dialogue.If the user says no ,it will close the dialogue and the row will be added using after function of j query.But if the user s...
Can any one help to solve the problem with IE8 on my computer http://www.lifestyletelevision.tv/lstv2/ flash player loads us it should be, but on other computer same version IE8 on refreshing the same page flash player screen stays in same possition but content moves to the let possition...
...
I have a dynamic list and need to select the before last item.
<ul class="album">
<li id='li-1'></li>
<!-- ... -->
<li id='li-8'></li>
<li id='li-9'></li>
<li class='drop-placeholder'>drag your favorites here</li>
</ul>
var lastLiId = $(".album li:last").attr("id"); // minus one?
...
Hi,
I am trying to use the Google Elevation API with the getJSON function of JQuery.
I am using this code which is using JSONP :
jQuery.getJSON("http://maps.googleapis.com/maps/api/elevation/json?locations=23.444,45.4545&sensor=false&jsoncallback=?", function(json){
alert("a");
});
I can see in Firebug that the GET reque...
I have a simple drop down list and like to add shadow, it seem hard to find a working code, what do you suggest?
<select>
<option>apple</option>
</select>
...
Hello,
i have multiple rows with the same id and when used the jquery function :
hide();
it hide the first row only and ignore the rest rows.
Could you please tell how can i fix it ?
Thanks in Advance
Neveen
...
I’ve got a Greasemonkey-for-IE script in IE9 that’s importing jQuery. But on secure pages it doesn’t work.
I’m getting:
SEC7111: HTTPS security is compromised by http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js
The code that fails is:
var script = document.createElement("script");
script.setAttribute("src",
"http...
Hello,
I want to do the effect presented by Mead Miracle http://www.meadmiracle.com/SlidingGallery.aspx . So I am using this plug-in in jQuery. What I want is to navigate through all the images and not only three. So I want to have all the images shown and do the same effect. Does anyone know if I should change a parameter or is somethin...
Hello all,
I'm trying to autocomplete some text-fields with
$('#username').replaceWith('<input id=\"username\" type=\"text\" name=\"user_name\">');
$("input#username").autocomplete({
source: ["c++", "java", "php", "coldfusion", "javascript", "asp", "ruby"]
});
I know there's a jQuery autocomplete plugin. How do I include the pl...
Say I have an arbitrary number children (e.g. "td"s) of a given element (e.g. a "tr"), and I need to grab a given number of these (say, 4) at a given position (say, 3; td's 3 - 67, in this case). What would the best query for doing this look like?
Note that I could be dealing with a potentially thousands of children, so I'd like to not...
I was wondering if Dojo (or any of its extensions) provides a (reliable) XHR request/response manager that would allow me to queue, block and retry calls when needed. Something similar to AJAX Queue/Cache/Abort/Block Manager v. 3.0 for jQuery.
...
i have a div with overflow auto and height fix ,
when i hide that div and show it again than scrolling not come but before hiding the div scrolling was there why this happen why style is changed to overflow hidden , and for solving this problem what should i do ?
...
I've tried multiple editors and have been able to successfully find one that works 100% of the time in an updatepanel and in IE8. ckeditor works fine until a postback in which it fires a hidden error. There are posts on it but no successful resolutions. I was wondering if anyone has an example site that successfully used an editor in an ...
what does this jquery selector means $("*[regex]")
I want to select all controls which have an attribute regex.
...
Hi
I have created a newly designed site that went live just last week. I have had reports back from a friend of a friend that it crashes in Firefox. They haven't passed on what version they are using, but hinted that it was on the mac.
I haven't been able to recreate this crash at all, and wondered if anybody out there either experienc...
Hi, i've a table with more tr and td :
<table>
<tr>
<td><a href='1.htm'> 1 </a></td>
<td><a href='2.htm'> 2 </a></td>
<td><a href='3.htm'> 3 </a></td>
</tr>
<tr>
<td><a href='4.htm'> 4 </a></td>
<td><a href='5.htm'> 5 </a></td>
<td><a href='6.htm'> 6 </a></td>
</tr>
When user clicks on first td with href=1.htm a new tr after ...
Following up on this question, I have the following 2 options:
$("tr td").slice(3, 6);
And possibly something like this (algorithmically speaking, I mean; I know making new query strings for each element is kinda silly):
var subset = $( "tr td:nth-child(4)" );
for(var i=4; i<7; i++) subset.add( "tr td:nth-child("+i+")" );
Which wou...