Hi i have div ,
<div id=refer_friends><input type='text' name='refer1'>
<input type='text' name='refer2'>
<input type='text' name='refer3'></div>
How to check, how many input element between DIV refer_friend ,
Using jquery
...
hi,
i'm building a faq page and i want to load the content inside a page page via ajax with jqyery tabs.
i want to avoid to have different pages for every faq so i want to load the content with and anchor. how can i do?
this doesn't work:
Accedo alle offerte online
...
I am developing a application in C#, ASP.NET and I have a lot os divs in my page, each div is a container for a chat message and each div have a unique id: like this
"<div id='" + myMsgs[j].id_chat_message + "' style='padding: 10px;'>"
so, each div have the same id in page and in database.
now a want to find some div, with jquery, bu...
Hi!
i have a form that can have different number of text fields (hoding translation value). Their names are for example: "textfield_eng", "textfield_ger", "textfield_dut".
in my ajax request i want these fields submitted ofcourse, but i can't figure out how to populate these field names and their values in to the data string.
This is...
Hi,
I have a rather basic implementation of a jQuery Accordion on a page (using 1.3.2, jQuery UI Core 1.72 and jQuery UI Accordion 1.7.2), and I wish to open the 2nd section when the page loads. i've tried numerous methods but nothing seems to work...
HEAD SCRIPT:
<script type="text/javascript"> $(function() {
$("#accordion").acc...
I'm doing an AJAX call using jQuery's JSON feature.
function get_words_json(address, username, paging_value) {
$.ajax({
type: "GET",
url: "json/" + address,
dataType: "json",
data: "username=" + username + "&paging_no_st=" + paging_value,
success: function(json){
pop_word_list(json, paging_value);
}
});
}
As you can ...
i use this
http://www.mudaimemo.com/p/quickedit/#
and it work good
the problem is
i want use this is renaming some rows
like this
my name ok!! (edit | delete| rename)
now this will be too many like that
1my name ok!! (edit | delete| rename)
2my name ok!! (edit | delete| rename)
3my name ok!! (edit | delete| rename)
4my name ok!! (ed...
<table id="gridmain"></table>
<div id="pagermain"></div>
I enabled all Form updating by putting: (Add:true,Edit:true,Delete:true)
But for some records with say: records with the field ConfirmFlag = 1 (the column id is "ConfirmFlag") , I will like to set it such that Editing is not possible (ie, Edit form do not open and possible a dia...
Hi,
i was wondering if i can add/append a javascript to an iframe which is loaded with an external web page that is not in my website. is it possible using jQuery or even simple javascript ?
<script>
// i need some code here
</script>
<iframe src="http://www.xxx.xxx/" id="myiframe" />
Note: i don't want to replace the content ...
I am looking for a UI functionality modelling language (UML-alike "thing", but for user interfaces) that is already accepted and maybe has its design patterns and handles the problem better than state or activity diagram.
(If there is no such thing I'm planning to develop that BTW :))
This question came to mind as a result of a discove...
<ul>
<li>item x</li>
<li>item y</li>
<li>item z</li>
</ul>
<a href="#">Populate</a>
I want to duplicate (copy and append) all <li>s when clicked on the 'populate' link. How do I do it?
Thanks
...
I am using this jQuery Accordion plugin to save the state of the menu using a hash (#) at the end of the URL for ever level that is expanded:
http://sandbox.unwrongest.com/jquery.accordion/
The only problem is that the back button doesn't work. I have tried to implement the jQuery history plugin but can't figure it out. I wouldn't even...
Is there a clever jQuery selector for selecting a text node like this:
<div><input type="text">one <span>two</span> three</div>
I would like to get three from the markup above and wrap it in a strong tag like this:
<div><input type="text">one <span>two</span> <strong>three</strong></div>
...
Hi - I'm trying to figure out how to execute some js code when an element is removed from the page:
jQuery('#some-element').remove(); // remove some element from the page
/* need to figure out how to independently detect the above happened */
is there an event tailored for that, something like:
jQuery('#some-element').onremoval( func...
I have a div on my page witch is hidden : AddSupplier, I have a button on my page witch must show the div if its not visible, but the same button saves some stuff if the div is visible. So all that is working but in this AddSupplier div there is a select box "ddSupplierTypes" and when the select box gets clicked the AddSupplierButton cli...
Is is possible to use jQuery to select an ancestor of an element?
Markup:
<div id="ancestor-1">
<div>
<a href="#" class="click-me">Click me</a>
</div>
</div>
<div id="ancestor-2">
<div>
<a href="#" class="click-me">Click me</a>
</div>
</div>
Script:
$(".click-me").click(function(){
// var ancestor...
Hi,
I am very new to jQuery, having previously only used CSS and XHTML. In a project I'm working on, I've been asked to add a sliding accordion menu to form the main basis of navigation in a website. An essential requirement is that the menu must support three levels of navigation. I have got it working fine using CSS, but I've hit probl...
Hey there,
I'm working on a site which has a modal window (using boxy) with a form. Inside document ready I have the following to load up the modal window:
$("#confirm").boxy({title: "Title", modal: true});
Where the link is:
<a id="confirm" href="/confirm/">Confirm order</a>
And this runs fine where /confirm/ loads up a new html ...
I am trying to create an option transfer plugin for jQuery.
I have the basic functionality working in opera, firefox, chrome & safari but IE7 is failing to co-operate.
The transfer functions in IE7 appear to operate very sporadically and incomprehensibly.
I have created an example page to illustrate my problem.
Can anyone see where ...
I'm using a selector to get a group of objects (0 or more):
var $openMenus = $Triggers.filter(".trigger-hover");
Then I have an event attached to an item that may or may not be in the object above. Within that event where I want to compare the item that triggers the event to c
$([selector])
.focus(function(){
var $thisMen...