I have the following xpath that I need to run, but Jquery doesn't support the functions....so how can i actually make this work in jquery ?
$("//*[br]/text()[string-length(normalize-space()) != 0]").each( ....
...
hello friends i m new to jQuery and nyro modal.
right now i m using nyro modal pop up in this way:
<a href='#add_sub_user' class="nyroModal" >
<input type="button" name="a1" value="Add" class="buttons" />
</a>
Now i want to call the same pop up using javascript like "to show hidden div we use
$("#sent_already").show();
Can any bo...
Greetings,
I got the following problem:
By clicking on the button "Add Flavor" (see full sample code), a dropdown-box, text field and two checkboxes are dynamically generated, - each time the click on the button is performed.
Is there a way to add the values from the dynamically generated (actually "appended") elements to the database...
Hello
I'm trying to use the jquery facebox plugin with live events (the official implemenatation, not the plugin).
My main page loads in a page via ajax. That remote page also has links to other remote pages which i would like to display in a popup dialog. I've been using the facebox plugin for this.
The below code doesn't work, and s...
$(document).ready(function() {
$('#username').focus(function() {
$(this).val('');
})
$('#username').blur(function() {
var l = $(this).val.length;
if (l == 0) {
$(this).val('Username');
}
})
});
What the above code is supposed to do is empty the value of #username input field...
Hello,
I have a blog on google (blogger) and i want to get json data from external website in order to integrate into my posts.
I used jquery library and getJson function in order to retrieve the json data but nothing is returned.
Blogger restrict any jquery external calls ?
Have any idea?
Thank you
...
my style is here
#mybox{
display:none;
}
my web is here
<div id='mybox'>
...
</div>
<script type='text/javascript'>
$(document).ready(function(){
$("#mybox").css("display","visible");
})
</script>
mybox don't show. How to show mybox ?
...
I am currently developing a web site with PHP + MySQL and jQuery. So far I have been doing it in my local machine. I notice that when I see the page the images on it take some time to load (few time but its visible). All images are small (PNG's with less than 3 KB). Now, when I load the page, there are some database connections happening...
I'm encountering a frustrating but seemingly random rendering bug in IE8. I have some absolutely positioned elements on the page (positioned in relation to the page body), the displaying of which are toggled by jQuery.
8 times out of 10 the elements are rendered correctly, but sometimes the positioning is not obeyed and they are simply ...
Hi gurus,
Thanks again for helping me with this simple solution
My scenario is:
I have a Jquery + AJAX + CodeIgniter web page where I have many divs like
<div id="team">
</div>
<div id="wp">
</div>
<div id="phase">
</div>
<div id="tasks">
</div>
On opening the page the page will contain a table with some links in div team. When I clic...
Hello, i want to make a iframe page that loading a page from other
site. I have try "jQuery iFrame Sizing" to set auto height in
iframe... but it is failed.
What's the problem...?
This is my code :
on Head
< script type="text/javascript" src="js/jquery.js" >
< script type="text/javascript" src="js/iframe.js">
on Body
< iframe scroll...
Anyone that can help me out will be very much appreciated. I seem to have got myself into a bit of a kerfuffle.
I'm trying to assign response data - retrieved from an AJAX request using the jquery.autocomplete plugin - to an input element. I can get the response data back fine, but when I try and insert it into the 'value' attribute, no...
Hello!
I use 4 link (submenu button) on my site. Every link open a DIV tag.
This DIV tags default stat is hide. (with jquery)
$('div[class*="my_"]').hide();
After i click a submenu then i show() the div tag i need:
$('a#submenu_1').click( function() {
$('div[class*="my_"]').hide(); // hide all DIV if some of them opened befo...
What is the best possible way using jQuery to give height and width to parent div of an Image.
<div><img src="source.jpg" width="%width" height="%height" /></div>
Please note that , there are more than one tags like this. 3-4 images and DIVS.
thanks in advances.
jQuery solution will be preferred.
...
I am using jQuery to parse an RSS feed. Within each <item> is a namespaced element like <content:encoded> I want to select. How do I select it in jQuery?
$(xml).find('item') works but $(xml).find('item content') does not.
...
Hello.
$(".navigation a").not(".navigation ul ul a").hover(function(){
// Not working.
});
For some reason, ALL <a> elements inside .navigation still get the hover function assigned to it.
I only want the elements that are not inside ul ul.
The Html is structured like this:
<div class="navigation">
<ul>
<li><a>ite...
I have a jquery ajax call that is making a cross-domain request. all the js syntax looks good, and the response looks good, but i keep getting the "missing ; before statement error" in firebug (console). Here's my web service:
[WebMethod()]
[ScriptMethod(ResponseFormat = ResponseFormat.Json, XmlSerializeString = false, UseHttpGet = tr...
Before I start the question, I know that some of you won't read the question carefully and will think that I'm asking for something as simple as addClass("custom1") to my original #elem, like this:
$("#elem1").autocomplete("source1.php").addClass("custom1");
This won't do it, because I'm not trying to add the class to my target div......
I want to convert below html image tag
<img src="img-1.jpg" width="290" height="420" class="frameImage" />
to following code using jquery.
<table class="frame" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="border-top" colspan="3"></td>
</tr>
<tr>
<td class="border-left"></td>
<td><div class="image-fra...
I am trying to submit an asp.net form (Default1.aspx) using jquery $.post() however I am unable to post to the other page (Test1.aspx). Here's what I have written
$("#Button1").click(function(e) {
var t1 = $('#txt1').val();
var t2 = $('#txt2').val();
$.post('Test1.aspx', { text1: t1, tex...