Hi,
I am getting a JSON object from a webMethod by the call below and I set some textBox values based on the returned objects attributes.
Problem is, just for a moment my textBoxes are populated but then immidiately they return back to empty.
Do I make a mistake or I cannot make DOM elements modifications within a success function?
T...
Hi Everybody,
I am developing an asp.net project and in this project I have used a countdown timer. I writed my countdown timer in jquery. It works very well. On the other hand when I clicked another page in my project then open the countdown page. My countdown timer should not be restarted. It have to continue count down properly. I t...
Hi,
I'm having some difficulties with AjaxForm file upload and the app engine blobstore. I suspect the difficulty is because the blobstore upload handler (subclass of blobstore_handlers.BlobstoreUploadHandler) mandates a redirect response, rather than returning any content, but I'm not sure. I'm expecting to get an XML document to work ...
Hi
Basically I have 4 images and 4 button. All 4 images are black and white.
Button1 click -- > toggles image 1 from black and white to color image
Button2 click -- > same for image2
Button3 click -- > same for image3
Button4 click -- > same for image4
So far my code is partially working. Problem is that when I click button 1 and...
i am trying to convert a string to an xml document to read the verious nodes or to append a new node with jquery and there after convert it back to a string again. can anyone help me on the please.
this is a snippet of my code
xmldoc.find('ROOT').append(
'<USER><ENAME>'+ $(this).find('ENAME').text() +
'</ENAME><OPERATOR>'+$(...
I'm trying to use Ajax together with jQuery to make a little window pop up when you click on a username in my custom forums.
My current code for the script:
$(document).ready(function(){
$('#profile_link').click(function(){
$.ajax({
type : 'POST',
url : 'viewuser.php',
dataType : 'html',
contentType : 'text/html...
Dont know what to call it, but if you have seen on Facebook, when you insert http://www2.scandvision.se/oresund10/images/body-background-1.jpg, it scales the picture down and show it besides the link, how to do something like that.
To be detailed how to make a box you insert something and then after 1-2 seconds it shows the picture/in s...
Let's say i have some html code like this
<html>
<body>
<div class="container">
<div class="markup-container">
<div class="title">This is a title with some markup</div>
<div class="body">This is the body with some markup and it's longer ^^</div>
</div>
</div>
</body>
</html>
and my css looks like this
...
Hello.
So ive got this far:
$.get('http://gdata.youtube.com/feeds/api/videos/NWHfY_lvKIQ?v=2&alt=json', function(data) {
var title = data.entry.title.$t;
var description = data.entry.media$group.media$description.$t;
var thumbnail = data.entry.media$group.media$thumbnail[0].url; // URL of the image
a...
Hey,
I am looking for a way to generate a valid tag (string with only a-z and minus as valid chars) out of a given string.
Just let me show you the code:
<p>
<label>Tag Title *:</label>
<input type="text" class="tag_title" name="input_tag_title" value="" />
</p>
<p>
<label>Tag (A-Z; -) *:</label>
<input type="text" cla...
I have this hyperlink in anchor tag
<a href="/index.php?var1=rule-power" > Text </a>
Now i want that when that page is clicked i have the page with hyperlinks like
<a href="" >rule-power </a>
Is it possible that i can grab the var1 using jquery . even if its partial match it willl be good and then remove that tag
something like
...
I've built a recursive menu using PHP and MySQL and I'm looking for a decent Jquery plugin (or tutorial) - to implement re-ordering the menu based on drag and drop. Does anyone know of any?
BTW. I can do the relevant PHP, I just need something that can send drag and drop <li> elements in a nested set of <ul>s and send ajax requests.
P....
I just appended some html to another JQuery object. I want to get a reference to the newly created dom node so that I can call another function on it. As seen in the code below, I am not getting a reference to what I wanted. Instead of the new node, I am getting the node with the original id.
var a = $("#id").append("some_html");
a.live...
i built contact form in aspx 3.5 and i'm using jquery to send it to web service (asmx).
the web service need to return success or error code. the problem is that at the web method i get only single value and not array. I'm kind of new in ajax and i tried a lot of solutions but without any results.. please if you can only explain me the p...
hi all..
i want after i've been submit form it can show hit counter..
but i want after it reach "20" it can back to zero..bcoz the limit of submit is 20 times so it can't over the limit.
how do i make it works?I've been try to this code...
<?
$limit="20";
$Query_counter=mysql_query("SELECT model FROM inspec");
$Show_counter=mysql_fetch...
Hi All,
I have a large nested list that I am trying to animate using jquery slideToggle. I want the individual nested lists (id="Nested" + counter) to animate separately, so that a user could toggle a list to display/hide without affecting the others. The animation would be triggered by the corresponding "trigger_Nested" (+ counter) lin...
I'm using Jquery getJson() to generate a json to be displayed on the google maps 3 api.
I would like to display the poly line as per the :
polyline-simple example
function initialize() {
var myLatLng = new google.maps.LatLng(0, -180);
var myOptions = {
zoom: 3,
center: myLatLng,
mapTypeId: google.maps.MapType...
Uploading images etc are fine.
But when it comes to removing an image the following ajax error comes up:
An HTTP error 500 occurred.
/filefield/ahah/news/field_images/0
This results in users now not being able to modify images on news articles.
Help!
...
Firebug is complaining about this line:
$("#original-description").text(response['course']['original_description']).hide();
Do I have a syntax error? Looks fine to me.
More context:
bindOnSuccess($('#course-search'), function(response) {
if (!response) {
$("#system-status").text("Sorry, no course could be found for that ...
I have a contenteditable div that I want users to be able to select a portion of, and then click a button to wrap a div with some class and styles around.
The div I want to wrap around:
var newNode = $('<div class=\'selectedFont\' style=\'text-align=center;\'>');
The methods I need to use are in the title, I'm looking for an example....