Hi Guys
I'm having difficulty replacing the text of a link with new text.
I have the following line
$('#myLink').text("UpdateValue");
This used to work before until I made a change to fix something that should have never been broken.. and now this is appending text & not replacing it.
Can somebody please confirm that it should repl...
Hi,
I have a select form element with 5 options. If option 2 is selected I want to display another form input box (this has a style of display:none initially). How can I attach an event to option 2 so that whenever it is selected the input box is shown otherwise it is hidden. I have this currently but this does not handle is option 2 ...
Hi all,
I have the following function.
<script type="text/javascript">
window.onbeforeprint = expandAll;
function expandAll(){
$(".fieldset:gt(0)").slideDown("fast");
}
</script>
For this html
<table class="sectionHeader" ><tr ><td>Heading</td></tr></table>
<div style="display:none;" class="fieldset">Content...
I have written a cascading drop down list using JQuery. The code that I have written works; the cascading list when changed, updates the cascaded-to list. BUT when I navigate away from the page and then press the back button on the browser, the CASCADED drop down list loses its values. Here is my code (the category list populates the p...
Suppose I have an element on my page with id "some_id". I want to call a function as soon as I encounter this element. Something like following.
$("#some_id").call_a_function(function () {
// do stuff
});
...
I have multiple document.ready functions on a page and I want a function to be called when all my document.ready functions have been executed. I simply want the function to be called
at the very end, after all other document.ready functions have executed.
An example of this could be that each document.ready function increments a global ...
I'm building a web app and I was wondering how it would work in Safari on the ipad, can I have multiple scrolling areas?
...
I have a CSV file, 2 columns Name & Image,
I’m using Javascript / PHP to read and display the list of names in an auto complete search field.
//-->This is what’s suppose to happen <--//
When the user performs a search, they type something into the text field, the auto complete drops down with all available Names matching there Query, ...
I need to access to a value in a checkbox, the atribute value has content, so i need to place the id somewhere else i created a label, but i have not access to that value
alert(check[i].label); // doesnt work
where else can i place a value in checkbox.
Please dont write that i can do this
<input type='checkbox' id='bla' name='myb...
Hi, I'm not very elite when it comes to JavaScript, especially the syntax. So I'm trying to learn. And in this process I'm trying to implement a content loader that basically removes all content from a div and inserts content from another div from a different document.
I've tried to do this on this site:
www.matkalenderen.no - Check th...
Hello,
<div id="1" class="h">one</div>
<div id="2" class="h">two</div>
<div id="3" class="h">three</div>
<div id="4" class="h">4</div>
<div id="5" class="h">5</div>
When I click on 5 I want it to move to the position where id=3 is, using jQuery.
Thanks
Jean
...
Hi,
In my main page, I need to have a main links displayed...and on mouse hover of each main link it should display a layer (something like modal popup but a smooth one)...and in the layer user should be able to select other links.
It should allow the user to move smoothly between the main links.
Can I use jQuery for this? If not what...
Hello All,
I am not sure if this will be right place to ask the question, but I have spent las 2 hours on Google trying to find something.
Im looking for image gallery/sideshow that will look like the one on dell web site.
www.dell.com
Can anyone direct me to one please?
I would really appreciate.
Thanks
Dom
...
I have some images that need to change, based not only on hover, but also on active state.
If you look at the page here: http://site427.mysite4now.net/tazthedog/site1/ There are some tabs with Screen Printing Quick Links, etc. The tab image is associated with the link and displays properly. The icon in tabs defaults to the gray and turn...
Hi,
Having difficulty understanding why my function is being called twice.
I'm trying to detect when a radio button is called (intRev_yes), check if a div is empty, slide down another div and then call a custome function which dynamically creates a date field.
if(this.id=="intRev_yes"){
if($('div#mainField').is(':empty')){
$('.intR...
Hi all, in my js file i want to be able to load a "splash screen" in a new air app im developing. At present when i call the splash screen it opens and closes fine, but its when i make it set a cookie it doesnt run at all. Please help...
cookieSplash();
function cookieSplash(){
var cookieSplash = $.cookie('loadSplash');
i...
Hiiii
I have a jQtouch site in dev and i would like to use a chart on it, to me Flot looks like the best way to do this (prettiest!)
However if i implement flot on the site i get the following error:
Invalid dimensions for plot, width = 0, height = 0
If i comment out the style sheet ../jqtouch/jqtouch.min.css the flot chart works ju...
Hello
i have a form, how to check if all the elements inside a form "textbox, checkbox, textarea, select, file" are not empty ??
THanks
...
I have an html table with many rows. I'm currently grouping several rows inside a div (I know this is ugly) and then show or hide the divs to show or hide the rows inside it. Is there a standard way to do this. Something like rowgroup or multiple tbody instead of this ugly div grouping?
...
I have two unordered lists, a bit like:
<ul class="list1">
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
<li class="current">Item 4</li>
<li>Item 5</li>
</ul>
<ul class="list2">
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
<li>Item 4</li>
<li>Item 5</li>
</ul>
And the goal is, with jquery,...