I am using jEditable to edit a table inline, the third column of which contains email addresses. This column contains plaintext, but it is converted to mailto: links using jQuery . Currently, when jEditable is activated, the user sees this: <a href="mailto:[email protected]">[email protected]</a>
How do I force jEditable to treat th...
I have an <img src="..." /> tag with a default src set. I'd like to have jQuery make an ajax request to get another image and when this new image is fully loaded, set the src of the <img ... /> tag so there's no flicker. I'd prefer not to do any of the preloaders like new Image().src="foo" etc. I'd really like the iamges to load on an aj...
I'm a bit out of my depth here and I'm hoping this is actually possible.
I'd like to be able to call a function that would sort all the items in my list alphabetically.
I've been looking through the jQuery UI for sorting but that doesn't seem to be it. Any thoughts?
...
I have quickly coded up a sort of product display thing that gets half of it's input from the page, and the other half from an AJAX query.
Here is the code
function productDisplay() {
products = [];
this.index = 0;
setupProductDisplay();
processListItems();
showProduct();
function setupProductDisplay() {
...
I have a floating menu(absolutely positioned) that stays in view as the user scrolls down the page, the problem is i have quite a large footer and if you scroll all the way to the bottom of the page it will clash with the footer.
I just want to make it stop say 400px from the bottom of the page.. Does anyone know if this can be done?
H...
I have an accordion setup as so:
$('.shortheadline').accordion({ active: false, header: '.headline', autoHeight: false, animated: 'slowslide', changestart: function(event, ui) { $('.brief').css('min-height','0') }, change: function(event, ui) { $('.brief:visible').css('min-height','80px'); $('.headline').blur(); } });
I want the cl...
I have reframed my Question:
I have a drop down box which is populated with a list of users.
<a href="#" class="Share<?=$r['Form']['id'];?>">Share</a>
<form action="/FormBuilder/index.php/forms/share/<?=$r['Form']['id']?>/<?=$userid?>" method="post" id="shareform<?=$r['Form']['id'];?>" class="shareform">
<p>Select the...
I'm fairly new to both tools and need to go hardcore with both as I manage, monitor, and tweak a new site's design process. What sort of strategies should I ask be implemented that sets a good solid foundation for debugging, testing, and logging?
[to the degree that back-end stuff can play a role - it's .net mvc
thx
...
Hi, I have a html form, which like this:
I have 2 fields, name and email, and 2 buttons, "add row" and "submit".
When i click the "add row" button, it will create a new row with 2 new fields (name and email). I store the name and email in array: ...
Thus, user can ad unlimited rows. I want to have a validation, if the user fill in eit...
I am try to show/hide answers to FAQ questions using jQuery. The idea is that all the questions are listed and only when a user wants to see the answer they click the question (which looks like a link) and then the answer becomes visible.
It kind of works except that the answer reverts to its original state as soon as it is clicked. In ...
i have a table with thousands of rows.
there are no ids and so on.
within the tds of the rows i have a link calling a fucntion and passing "this" to get the link object.
using jquery it is easy to get the the closest tr and table (and so the tables.rows.length)
i want to know as easy in wich row i'am?! ok i could do a loop but does e...
In order to validate a form like:
<input type="text" name="trueExplain" />
<input type="text" name="true1" />
<input type="text" name="true2" />
<input type="text" name="true3" />
<input type="text" name="true4" />
<input type="text" name="true5" />
in order to validate fields before submit, I want to add an id for each input element:...
Hi,
I am having the Html as
<ul>
<li id="listSize" style="display: block;">
<label class="topspace">Field Size:</label>
<select id="fieldSize" name="fieldSize" >
<option >Choose a size </option>
<option value="small">Small</option>
<option value="medium">Medium</option>
<option value="large">Large<...
Problem:
I want to validate some ASP.NET-checkboxes using the jquery validation plugin (found at: http://bassistance.de/jquery-plugins/jquery-plugin-validation/)
What it's all about:
It's not possible to set the name attribute of ASP.NET checkboxes (or is it?). It'll automatically be set, when the control is rendered and can be retrie...
I need to put a promotional message either at the bottom of the form or in an alert when a user meets certain criteria. I think an alert might be best. It's to do with certain postcodes so I will need to write a regex (I haven't done this yet). It needs to happen when the user clicks submit and before it goes to the server. I'm not sure ...
hi,
i am using the jqalert.js,jquery-1.2.3.js,jqDnR.js to create alerts.The alert is displaying perfectly,but i have input boxes(text boxes),the alert message allowing to enter text in the input box.how we can disable the key events when the alert box is showing? please help me.
Thanks
Usman.sk
...
Hi!
I have something like that:
// original function
Foo = function(params) {
do foo...
}
Foo.prototype.alert = function() {
alert('foo');
}
Now i want to interfere:
Bar = Foo;
Foo = function(params) {
do bar...
return Foo(params);
}
Or the JQuery way:
(function() {
var proxied = Foo;
Foo = function() {
do bar...
...
I have been trying to use a simple jQuery operation to dynamically match and store all anchor tags and their texts on the page. But I have found a weird behavior. When you are using match() or exec(), if you designate the needle as a separate RegExp object or a pattern variable, then your query matches only one instance among dozens in t...
The following code adds a checkbox and a label to the calling node.
My question lies in the label.click function. Whenever the label is clicked I want to change the state of the matching checkbox. What happens however is that the checkbox always ends up unchecked.
For debugging purposes I now always explicitly set it to checked.
When I...
Imagine I have a table with more than 9 rows.
If I do this : $('table tr:gt(3):lt(6)'), shall I receive 3 or 6 elements at the end, and why ? Are all selectors applied to the same primary selection, or are they successively applied on different selections ?
...