i want to make an ajax call to a php file that return a users info in json then take that data and put it in an object property
example:
System = {
prop1= ''
}
i just want to override the prop1 property
im using jquery to make the ajax call
...
I am trying to create a custom jQuery selector that will put focus() on a input text field whose label text is provided by the user.
It is simple, I take the text provided by the user, search for the text node of all labels, get the matching label's 'for' attribute value and use that as an id to get the input element.
My problem is tha...
any simple examples i want ? thanks in advance.
...
I need to implement a regular expression in my asp.net mvc(C#) application using jquery.
I have a sign in form, in which i need to validate the fields with the required and regular expression.
Putting more clearly, I have Username and Password fields in my Sign in form. I need to validate as required first, and if the user entered any ...
<input type="text" value="useraname" />
<input type="password" value="password" />
I'm using jQuery to make the inline labels disappear on click/focus. Password shows bulls as usual, but I wonder if its possible somehow to show "Password" label as text (instead of ••••) inside the password field?
Edited to add: I want the user-typed p...
I'm using jquery's load to bring in thumbnails via ajax. I'd like to user to be able to hover over the cropped thumb to view a small uncropped version of the image using imgPreview plugin. If they click on it, then bring up the full sized image in a lightbox (fancybox).
For the lightbox, I have:
$("ul#plant_gallery li a").livequery( fu...
While the Jquery tools code seems to work well in chrome and FF it is not working in IE 6 or 7 ...
http://designbracket.com/ I am using Overlay on the Our Services Link and the links under it (please excuse the formatting for now... still working on the site)
<?php jquery_plugin_add('overlay'); ?>
<?php
drupal_add_js(
'$(function...
I have this:
<input type="text" value="Enter Password" class="password" />
... onclick/onfocus, I'd like to change the input type to 'password' and value removed, like so:
<input type="password" value="" class="password" />
This doesn't seem to work:
$('input.password').click(function () {
$(this).attr('type', 'password');
...
I am trying to allow for the filling out of a form from a lightbox pop up window. One like the one that Get satisfaction uses (though I only need to be able to collect info, not display from a query as well). You can see a Get Satisfaction example at http://tweet.fabeetle.com and clicking the feedback tab.
What is the best way to do th...
like this:
var arr = [
{ name: "robin", age: 19 },
{ name: "tom", age: 29 },
{ name: "test", age: 39 }
];
I want to remove array item like this(an array prototype method):
arr.remove("name", "test"); // remove by name
arr.remove("age", "29"); // remove by age
currently, I ...
hi. i got a updatepanel with a repeater in it. it display different events that i get from a calendar.
now what it want for it to do is i click on a event and it should display in a jquery dialog.
now this works great if i am not using a updatepanel but with it just wont work.
i been looking for it yesterday for some time and i see...
I'm from design background. My programming knowledge is zero. After learning xhtml and css i want to learn and get good command on Javascript/jquery etc. How should i start?
This will be my first attempt to programming. I can use and edit readymade available jquery/javascript scripts but can't make my own and can't do high level editing...
Hello,
I have a page the makes an AJAX request, and returns some data from the database, once it is retruned I am trying to append it to a div and make an accordion, however all I am getting is the data back and no accordion here is my source code once the AJAX has run.(snippet)
<script type="text/javascript">
$(document).ready(f...
we are developing a web application which allows a user to draw diagrams(flow/ER diagrams) and we need the representation of that diagram in some XML or other formats. How should we acheive this ?? is there any open source software or jQuery plugin or anyother server side software??
...
Hi there..
I have nearly finished a table which has hidden object and sorts..
$(".ICS_BlueTable").tablesorter();
$(".ICS_BlueTable").bind("sortStart",function() {
$('.ICS_Artist_Hide',this).toggle();
$('tr',this).removeClass("ICS_Artist_Hide");
}).bind("sortEnd",function() {
$("tr:gt(4...
Any suggestions on a way i can paginate a client side block of text? I'm using a CMS so limited on the backend but essentially i would like a system where a user would create a big block of text and if that text was bigger than a certain size then it would paginate? Any examples of javascript or Jquery that does this? I've done some sear...
i dont have a clue how i should rewrite this jquery so i can pass parameters into it. i want to pass an id into the function so i place it like, $(".dialog" + id).
i am goin to trigger it with a <a>
$(document).ready(function() {
$(".btnCheck").live("click", function(evt) {
evt.preventDefault(); ...
Hello,
I've been working with Eric Martin's SimpleModal with success, but now I had to add a new html form to my page and it stopped working, the content of the modal is not appearing.
Do you have a solution for this?
Note: I'm working in ASP.NET, so the 'appendTo' property is set to 'form'.
Thanks in advance,
Rui
...
Is it possible to overwrite 'alert' messages like this plugin overwrites 'confirm'?
...
I have a series of checkboxes that are loaded 100 at a time via ajax.
I need this jquery to allow me to have a button when pushed check all on screen. If more are loaded, and the button is pressed, to perhaps toggle all off, then pressed again toggle all back on.
This is what i have, obviously its not working for me.
$(function () {
...