I am using this plugin:
http://plugins.jquery.com/project/history
on this page:
http://www.crtaci.info/index.php?autocom=majice
I dont know why but it seems i cant figure out what to do to get this to work... Guess i need more sleep... :)
...
for example:
<table>
<tr><td>1,1</td><td>2,1</td></tr>
<tr><td>2,1</td><td>2,2</td></tr>
</table>
I wanna using the following function:
$("td").click(function(){
alert(xxxx)
})
to get the <td> `s position when clicked, but how?
Thanks.
...
I'm working on fixing up a legacy web application with jQuery.
I have a form that has 40 buttons that each have some type of confirmation that use javascript confirm. I want to switch these over to use the jquery modal dialog.
I have programmed several of them like below and they work fine. Problem is that there is 40 of them on th...
I would like to position a div relative the the view port of a browser window. Currently I have some popups with some jquery that are dynamically getting positioned based on the window size, however since they are absolute positioned, they are based off the top of the page, so when you scroll down, and click on a project lower on the pag...
Ahoy everyone,
I try to load content into a div using this tutorial. I am using jquery for this.
The problem is that, when i click the link
<a href="about.html" class="panel">Profil</a>
it loads about.html as a seperate page. I tried it with several scripts, but for some reason it looks like
$("#content").load
does not work at a...
Is it possible to get the current value of the onClick attribute of an A tag via jQuery?
For example, I have:
<a href="http://www.google.com" id="google" onclick="alert('hello')">Click</a>
I want to get the onclick code so I can store it for later use (as I'll be changing the onclick event for a little while).
Is it possible to do s...
I am Developing a Registration Form in ASP.Net in Which i am using client side scripting.So I used jQuery.ajax method to POST all field's data to server through a ASP.Net Web-Service.But when i execute the Jquery.ajax method it calls error function.I tried to debug it using Firebug in Firefox.It showed error 500 Internal Server Error.Now...
As the question pretty much sums up, I'm doing a presentation on some of the more "hidden" aspects of jQuery, including the data() function.
I'm quite comfortable with how the function works, but am struggling to come up with enough actual usage examples outside of basic setting / getting and identifying the events bound to an element.
...
Hey,
I am using this line of code:
initWords($('<span></span>').addClass('word').text(data.word).appendTo('#wordBank'));
Along with creating a <span class="word">word</span> I want too add name="WORD HERE" to the tag.
I see that $(".word").attr("name"), but is this how I set the attr name to the span.word?
Thanks,
Ryan
...
Hi
I been playing around with my code and I wanted to see what would happen if I did this.
I load up my asp.net mvc page and then go to my mssql 2005 database and hit pause. I then click on a link that has a jquery ajax request.
It goes to a method in my controller(lets say it is a JsonResult type) it has a ActionVerb of "Post" and Au...
I get this date in javascript from an rss-feed (atom):
2009-09-02T07:35:00+00:00
If I try Date.parse on it, I get NaN.
How can I parse this into a date, so that I can do date-stuff to it?
...
I am using ColorBox to show details of events on a calendar.
The address to view it is http://www.idea-palette.com/greatoppseventcal/calendar6.php
In firefox, when the user clicks on a day with an event, the lightbox opens and displays the event information from the database.
In Internet explorer, when the user clicks on a day with a...
My goal is to have a jQuery datepicker pop up when the user clicks a link, not a text box. Additionally, I was wondering if I can set up links from a given date (to list scheduled events).
I've been attempting to modify the demo code on the jQuery demo site and others to fit these requirements, but I'm very unfamiliar with javascript a...
I have a website that loads once and then each time a user clicks a button instead of loading a new page, the content is just replaced via ajax. However on one of the pages I'm using jquery-ui and for example, if I land in "index.html" and then click to go to that page the script is not loading but if I go directly to that page the scrip...
I have a php page that is returning a json object like this:
header('Content-Type:application/json');
echo <<<HERE_DOC
[ {content: '{row2[contentFull]}', bigimages: '{$row3['catalogFileID']}'}]
HERE_DOC;
}
In my main page I have the following jQuery code:
jQuery(function(){
jQuery("select#rooms").change(function(){
var optio...
I have a query, I want that if a user is already logged in to a web page and again he Relogins from same or different machine then his previous session should be killed and automatically he gets log out to main page. I'm using jquery at client side and servlets at backend. I'm using tomcat 6 as web server and jdk1.6 compiler. I just wan...
Hi
I am having problems when it comes to removing a row from a table. I have 2 tables one requires me to delete X amount of rows so I used jquery.each and in the each loop I just went $(value).remove() and it works.
Now I have another table where the user deletes one row at a time. So I thought I would do the same thing.
('#MyTable tb...
Suppose you have a URL:
http://www.example.com/whatever?this=that&where=when
How would you extract the value of the where parameter (in this case when)?
This is what I came up with -- I'm wondering if there's a better solution:
$.fn.url_param_value = function(param) {
var url = $(this).attr('href');
var regex = new RegExp(pa...
Hi,
I am implementing a functionality in my web app such that a client can generate the report by entering some data and clicking on the submit button.
The problem is that report generation takes lot of time and the report might not generate if the user entered data is wrong.
The complete report generation task has many sub-tasks and ...
<form id="target">
....
</form>
...