Hey,
I've coded an HTML page using jQuery for loading content. Now if I want to link directly to a submenu, is this possible to do with JavaScript?
So for example if someone goes to www.mydomain.com/submenu1/
then some JavaScript code will execute and load the needed contents?
Thanks a lot :)
Is it possible to realize that with htacc...
Hello!
I am interviewing candidates for a role that centres around user experience. The issue is that I am unsure of the best way in which I can test someones ability in this field (i'm used to grilling them with OOP questions for dev roles).
I had thought of giving the candidate a PSD file and seeing if they can translate it into compl...
Hi,
I have a table with images in one column. When I click the image, would like to get the text value of the first column in that row.
I can get the whole row with this:
var a = $(this).parents('tr').text();
However, I cannot isolate the first cell of the row.
I've tried
var a = $(this).parents('tr td:first').text();
But that...
I dynamically add rows to divStaff using jquery:
$("span[id$='lblAddStaff']").click(function() {
//$(".staff_tpl").find("input[id$='txtRate']").val("0,00");
var staff_row = $(".staff_tpl");
staff_row.find(".staff_row").attr("id", "Emp" + counter);
$("div[id$='divStaff']").append(staff_row.html());
...
Hallo guys,
I'm using ASP.NET MVC with jquery and it's going great for now. Just, there is one question that is bothering me. How should I handle urls in jquery methods? I really wouldn't like to hard code it, like here:
$(function() {
$.getJSON("/Home/List", function(data) {
var items = "---------------------"...
I don't mean for this to be inflammatory, so please don't take it that way. As someone who has used Prototype a lot and JQuery a little, they both seem very similar, but JQuery (at least initially) looks cleaner and more well thought-out. At this point I am wondering, other than tight integration out of the box with frameworks like Rails...
Hi folks,
i'm trying to get a JQuery function running in IE7. In Firefox and Safari its working fine. Now i tried to debug, and even the simplest function is not working in IE, so i guess its a problem of the whole call.
<script src="js/jquery.js" type="application/javascript"></script>
<script type="application/javascript">
$(do...
Hi i have a MasterPage (ASP.Net MVC) which contains a couple of loads for Jquery ui and under that a contentplaceholder for view specific scripts:
<script src="../../Scripts/jquery-1.3.2.js" type="text/javascript"></script>
<script src="../../Scripts/ui.core.js" type="text/javascript"></script>
<script src="../../Scripts/ui.tabs.js" typ...
I wrote a simple ASP.NET WebService Precompiled it and hosted it in a virtual directory.
Webservice code:
namespace Test.Services
{
/// <summary>
/// Summary description for AgentService
/// </summary>
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[...
I have a drop down menu with options 'text,text area,drop down ,email' etc. I also have a list of links like text ,text area etc. When I click these link,the corresponding html element is created. i.e, if I click text, a text box is created. And if I click text area,a text area is created.
Now I want the option selected in the drop do...
I need to disable all the check boxes inside a table cell when clicking on a hyperlink inside the same table.
I'm using the following jquery code to select all the check boxes nested inside the table.
$el = $(this).parents('table:eq(0)')[0].children('input[type="checkbox"]');
$($el).attr('checked', true);
For some reason this piece o...
Hi All,
I want to display an image in the options of select box.
How can i do it in javascript/jquery in CHROME.
image text
...
I have page with 3 textbox. I to find all textboxes which have value into it and print its text. How to do?
...
In a KeyDown event of a textbox, can i check for a range of keyCode
For eg:
if (e.keyCode == 90 to 97 || e.keyCode == 104 to 110)
How do it write this the correct way?
...
Hi!
I'm generating a GoogleMaps map in a dialog.
So, is it possible to print this map? I've seen that it's possible if only I render this map to an image format, something like a printscreen of the map. But, I have no idea how to do this.
Thanks!
...
When I try using jquery gradient plugin with blueprint-css tabs plugin , I see that the tabs
get disabled.
http://wildindia.org/mwtest/grad.php ( demo link )
If you see the there, the Tab #2 is inactive.
Does anybody here know the reason behind it ?
-
Anush
...
Hi, I'm using jQuery for some simple animation effects once user clicks something. However, if they click again before the first animation has completed, nothing happens. They must wait until the first animation has finished.
Is there a way to interrupt the animation process and begin from scratch when a second click occurs?
Thanks.
...
Hi.
I´m trying this on Opera 10 and doesn´t work:
$('input').keydown(function(){ return false; });
This works fine in other browsers.
Can anybody tell me something about this??
Thanks!
...
Hello,
I am trying to return HTML from a HttpHandler via jQuery. I am using the following jQuery javascript to call the handler:
$.get('http://localhost:56964/LoadComments.axd?storyID=' + storyID ,function(data) {
alert(data);
});
The handler performs some processing and returns HTML. The problem I am having is that the above call re...
Hello,
I have array of keywords. How can I find if any of these keywords present in textarea? Is there any plugin or function to do that?
Thank you
...