A simple HTML form:
<form enctype="application/x-www-form-urlencoded" method="post" action="/view/album/id/4"><ol>
<li class="no-padding"><div class="element">
<input type="hidden" name="media" value="" id="media" /></div></li>
<li class="no-padding"><div class="button">
<input type="submit" name="add_to_favorites" id="add_to_favorites...
I just got a job offer to be a FE Developer, but I've never heard of that term before. Strong HTML, CSS, Javascript, jQuery, XSL skills required.
I consider myself proficient in all of those fields except for XSL and I've never heard of that term before. Can anyone enlighten me?
...
I know you can get the innerHTML doing something like this, with jQuery,
$('iframe').load(function(){
alert($(this).contents().find('body').html());
});
This gets the innerHTML of the body tag. But I want it all. I want the HTML tag and the doctype. The whole source code basically. And I want to be able to edit it as a whole as well...
Before I throw something ugly together I thought this would be a good one to ask the experts.
So I've got a button that a user can click that:
a) Passes a variable from the element to a jquery function and posts to a php script like so (this works fine, though there is probably an easier way):
$(".complete_btn").live("click", function...
Hi,
I have a "Reset Password" form being validated by the jQuery Validation plugin. Everything works fine except that I can't get the "remote" part to work with Django. What I'm trying to do is to have remote send an ajax request to my Django backend to check that the "Old Password" is correct as part of validation.
What I'm not sure ...
I cannot seem to figure out I am getting the following error in IE 8 (only IE version I've tested so far). The script runs fine in all (chrome, ff, safari) other browsers I've tested. What am I doing wrong?
Error:
Message: Object doesn't support this property or method
Line: 52
Char: 29
Code: 0
URI: http://www.ntierdesign.com/jquery/...
I have a DropDownList as a custom control inserted into a subform which is within a popup window on my main page. I have coded unique CssClass identifiers for both the DropDownList and the textbox I am trying to enable/disable. I only want the textbox enabled for DropDownList values 317 and 318, all others should disable the textbox. ...
I am using jquery-1.3.2.min.js in my application. when opening my page i am getting error in IE . Error is in jquery-1.3.2.min.js file at line number 1067
return (text || "").replace( /^\s+|\s+$/g, "" );
at this line . Why this error is coming in IE.
...
Hi all, I'm trying to use jquery and blueprint css to do a (so i thought) simple task, which is illustrated in the code below. Basically, I have a list of items, and I want to have a X at the end of each item so that the items can be deleted, i would also want the X appearing only if the user mouseover the list items. The mouseover part ...
If my PHP returns a array with 6 elements how would I access each of them specifically in jquery?
For example I want to create:
var itemOne = value of first array element;
var itemTwo = value of second array element;
...
$.get('ajax/employee_menu.php', { job: $('#job').val() },
function(data)
{
//i want to ...
Hi guys, need a quick help here. I have a series of hyperlinks all with the same class name. I want that when I click on anyone of the links - the background colors of all the other hyperlinks change except the link I have clicked.
...
i got 'JQuery' is undefined error while browsing the page in IE 6 but it works with all
browsers (including IE 7 ).can anyone help me.
...
I've been having problems getting jqmodal modal dialogs to display on links added dynamically by client side code. I've demonstrated the problem at the following URL: http://www.neil-burton.co.uk/jqmodaltest/index.htm
Any help would be appreciated
...
My code:
$.get('ajax/time_menus.php', { shift: $('#shifts').val() },
function(data)
{
//load the array into a test element so we can see what is returned
$("#test").html( data );
//set the hour menu
var startHour = data[0];
alert( startHour );
$('#from_hours').val( data[0] );
...
Hai all
i have a problem, i have X <input type="checkbox" /> ind my code, now i what to foreach this object/array its out put. - look my code.
$("#denied_seekrs").click(function()
{
if (!isCheckedById("selectname"))
{
alert ("Please select at least one event");
return false;
}
else
{
...
Hi,
I am getting a wrong output when i alert this, it shows '01'
<input type="hidden" id="hidNavigation" name="hidNavigation" value="0" />
alert($("#hidNavigation").val($("#hidNavigation").val() + 1));
I am a newbie using jquery, please help me how to increment/decrement values in jquery.
Thanks,
Nash
...
Hi,
<p style="" class="closeField float_left" disabled="true">
<a href="/knome2/comments/115/report_abuse" class="btn lbOn"><span class="button_image">
<span class="report_abuse background_16">Close</span></span></a>
</p>
I am trying to make this <p> as disabled , actually my this <p> tag will displayes like a b...
Hi i want to browse every 10 records on a click. The AJAX call should fetch next 10 records each from SQL QUERY when clicked on next or previous. At the initial page i have a SQL QUERY which fetches 10 records
SELECT VENUENAME FROM VENUES LIMIT 10
<a style="float:right" id="next-nav" href="#">Next</a>
$("#next-nav").click(function(){...
I'm trying to use a custom validator with jQuery Validation plugin.
However, I'm unsure how are you supposed to pass multiple arguments to a validation method?
I've tried using (2,3), curly braces and combinations, but I have failed.
This is the code - ???? marks the area I need info about:
$(document).ready(function() {
jQuery.valid...
Hi, I'm using jquery validate to validate my forms. I want to show a text field that is hidden when my This field is valid.
That is i want call a method when a text field is valid(on text field change, before clicking submit). Any ideas?
...