Hi
I have a un-ordered (ul) html list. Each li item has 1 or more classes attached to it.
I want to go through this ul list and get all the (distinct) classes. Then from this list create a list of checkboxes who's value matches that of the class and also who's label matches that of the class. One checkbox for each class.
What is the b...
I have a problem returning/processing JSON data while calling $.get() function. Here's the code:
JQuery:
$.get("script.php?",
function(data) {
if (data.status) {
alert('ok');
} else {
alert(data.error);
}
},'json');
PHP
if ($r) {
$ret =...
Hi;
Jquery Code:
$("[id$=mytable] tr").click(function() {
alert($(this).html());
});
Html:
<table id="mytable">
<tr>
<td class="locked">1</td>
<td>2</td>
<td>3</td>
</tr>
<tr>
<td class="locked">a</td>
<td>b</td>
<td>c</td>
</tr>
</table>
ı need only "t...
I have issues with FF & Jquery .show().
my website shows an embedded map from google in clicking a link.i have got a javascript function that handle this, in safari it works great.FF won't show the map.
this is the js. function:
function mostraPagina(nome){
if (nome='mappa'){
$('#mappa').load('contenuti/mappe/mappa_thiene.ht...
Hello
I want to generate a preview thumbnail image of a web page using the link for the page. How can i do this? I'm comfortable with C#.NET, Javascript/JQuery.
Regards
NLV
...
I'm attempting to select all <script type="text/html"> tags in a page. I use <script> tags to store HTML templates, similar to how John Resig does it. For some reason, the following jquery selector doesn't seem to be selecting anything:
$("script[type*=html]").each(function() {
alert("Found script "+this.id);
});
This markup is i...
I'm working on a little jQuery script to add Google Analytics pageTracker onclick data to all relative URLs on my forum, allowing me to track clicks to external sites.
I don't want to add the onclick to internal links on forum.sitename or sitename, and I don't want to add them to any hrefs marked # or that start with /. My script below...
Hi guys,
I have an awkward problem concerning jQuery validation component working with html select element. This issue is present only on the latest version of Firefox browser (3.6) When I try to click the combobox, the list of available values does not expand... I guess there is some issue with the flow of javascript events...
Does an...
Hi I am converting one layout to html , once I make the changes in code html/css then every time I have to hit F5. is there any simple javascript/ jQuery solution for this.
like i add the script and its reload the whole page every 5(or specific time)
thanks
...
I have a number of apps all under the same domain: E.g.:
app1.overflow.com
app2.overflow.com/email
app3.overflow.com/home
I setting using these functions: http://www.elated.com/articles/javascript-and-cookies
How can I setup the cookie so that It can be read across all of the applications?
I dont seem to be able to get this to work?
...
Hi, I need to append a string (an img tag) to a tinyMCE editor instance.
I was doing it like this:
$("#textboxhiddenbytinymce").append( string );
tinyMCE.triggerSave();
with no luck. I was wondering if:
There is a direct method for adding an arbitrary string (I need complete control over it) to an instance of tinyMCE I understand th...
I want our users of a web site to be able to
either search and pick an address or mark a location on a map
decide how accurate this address/location is
I am in the process of implementing the first part with jquery, jquery ui's autocomplete, google map, and google geocoder. For the second part I will generate a radiobutton list based...
I have an iFrame like so:
<iframe width="100%" frameborder="0" height="470" allowtransparency="true" name="productframe" id="productframe" style="border-bottom:1px solid #eee"></iframe>
The iframe contains several line items drawn from a sql server db, and I can check any of the checkboxes I want to perform a task with - in this case ...
Hello everyone,
I have a div on a page whose contents is replaced by an AJAX request when the user selects an option from a select list. When the page loads, I issue a command to disable the autocomplete feature for all of the pages text input elements:
//Stop that pesky browser autocomplete
$('input[type=text]').attr("autocomplete", "...
I will be calling a jQuery dialog from various parts of a page. Each call is initiated by an onClick event of the calling object where I firstly call a function to create the dialog, write the close event binding to the dialog and then call the dialog. For the close event, I wish to have multiple commands to be performed, but different f...
This is my HTML:
<p class="first">blah blah <a href="" class="more">read more</a></p>
<div class="read_more">
<p>more text</p>
</div>
And javascript:
$(document).ready(function(){
$('a.more').click(function(){
$(this).find('.read_more').slideDown();
return false;
});
});
Doesn't seem ...
What is the easiest way of paginating data that is in divs? Some jquery library for it? Basically I would only need 1/x pages shoqing and arrow buttons to go throught all the data.
...
I mean : is there a jQuery plugin which can check our code before launch it ?
Example:
I write this :
jQuery('.myclass')css('color','red');
The plugin will show me some message like 'parse error line ...' because I forgot a dot
Or :
function test() {
alert('test');
...
tet();
Message: The tet() function doesn't exist.
So......
Hi all,
I am developed an web application in asp.net. In this application I have used jquery ajax for some pages. In this application, when I make two ajax call asynchrounoulsy that would not do as I expceted. what is happening is even the second ajax call finishes i can see the result when the maximum time out ajax call finished. I mean...
<ul>
<li><a href="">link 1</a></li>
<li><a href="">link 2</a></li>
<li><a href="">link 3</a>
<ul>
<li><a href="">link 1</a></li>
<li><a href="">link 2</a></li>
</ul>
</li>
</ul>
How to add class to the immediate children 'a' of the LI, while on hover of the LI.
while i mouse out of the LI. the class should be removed...