i request a ajax call using jquery
$.ajax{}
on url parameter i hardcoded the path as
"/Home/Ajaxpost"
its working fine with default, but i hosted in IIS so the project name included in path
like "/Project/Home/Index" so now if the request goes lik "Home/Ajaxpost" fails Action not found.
How can i dynamically set the path for ajax...
How to get iframe src page title and then set main page title
...
i have the code below
<div id=topbar>
<a class="nav" href="#" onClick="if($('#embedding').css('display') == 'none') { $('#embedding').show('fast'); } else { $('#embedding').hide('fast'); } return false;">Show Details</a>
<div id=embedding>Content</div>
</div>
In the link to show the embedding layer, is there any way instead of putting...
i have div
<div style="height:100px; width:100px" class="total-title">
first text
</div>
and i have jquery statemtnt to chnage its value
$('div.total-title').html('test');
not working
Thanks
...
Hi
On view users page am showing list of users in the list, and i want to show recent users by selecting dropdown of (Recent Users) in the same page. now am using post action to get the values and bind the list its getting full page load but i want to use to Ajax with Jquery option to show the list of datas in the same view page any one...
Hi All,
I have to create one expandable /collapseable panel in jQuery, and facing some issues.
code
HTML
<div>
<img src="8A7FA0A1FFEC5443785B9B29AF7629.jpg" alt="" />
<div>
<span>
Hello
</span>
<ul class="myul">
...
I have an ordered list, but I want to number is manually in a separate span tag than use the default list-style: decimal;
<ol>
<li><span>1</span> item 1</li>
<li><span>2</span> item 2</li>
</ol>
How can I achieve this using jQuery?
Many thanks!
...
I'm building WCF service where one OperationContact should consume string array on input.
The POST request is build from jQuery with $.toJSON function and looks like
{"user":"77cae724-d5b3-412d-9499-2cfc175bf66f",
"data1":["ba3be5f2-c65d-4c21-86b1-829cad246746","604c53b1-1e24-42f7-8aba-93314eb0878e"],
"data2":"d15c3cf6-02c8-42f2-97...
Is there a way to remove text that is not wrapped in any tag using jQuery
<p>This is some text</p>
This is "unwrapped" text //to be removed
<span>some more text</span>
Thank you for your help
...
jQuery
$("#myID").each(function() {
$(this).dosomething;
});
HTML:
<div id="myID">
<div class="myClass">content</div>
</div>
How do I access myClass from the function? this>myClass ?
...
This is just a thought that I'm having, and I'm curious if its possible.
For instance, say I have a div with text and an image within.
I'd like to be able to click a button and have the top pinch inwards...basically as though I'm compressing it into a singularity.
Is this sort of transformation possible?
...
I can only find the documentation for jQuery UI 1.7
Where is the documentation for the Legacy jQuery UI 1.6 ?
...
how to access textbox values inside Gridview using JQuery
...
Hi there... help :=)
I have a menu <li> that when hovered slides a panel down which contains a submenu. (fixed)
Now I need to fill that submenu with content that changes depending on which of the menu items is hovered.(fixed)
last problem:
I can only make the content-change happen if .click is used instead of .hover ...
- is there an ...
Just a simple question,
Im trying to replace class with var, but obviously still something wrong in the string.
I'm doing this:
var C = $('.form')
$(" ' " + C + "' tr").remove();
and trying to achieve this:
$(".form tr").remove();
I know that might be simple question, but please forgive me, Im still learning basics
...
Hi All,
I need to change the images on every click using jQuery, lets say while the page loads for the first time it will be img1 and when i click on img1 it will be img2 and again if i click on img2 it will b img 1, and this should go on...
code:
<div>
<span class="myimage">
<img class="img1"src="8A7FA0A1...
Hi there
I'm using jquery to get the last word in a string,
but i want to be sure it is the best way (performance wise),
because the string could get very long
furthermore, i want to add capability to get the "current" word,
which may not simply be the last word..
This is my code so far
<script type="text/javascript">
function ...
i am using jquery galleria which is quite cool but i can't seem to figure out how to center the list of thumbnails. asyou can see in the below link, the main image is centered but the thumbnails are always left justified. any css experts know what i am doing wrong here.
Here is an example.
...
I would like to know which item in select list was last clicked
I have select drop down like this
<select id="selectId" multiple="multiple" onchange="">
<option value=1>Value 1</option>
<option value=2>Value 2</option>
<option value=3>Value 3</option>
<option value=4>Value 4</option>
</select>
I would like to know, which item from se...
I am using autocomplete feature in jquery to show the users list intellisense.
for formatItem, i am using FirstName + " " + LastName + " [" + EmailAddress + "]";
for formatResult, i am showing FirstName + " " + LastName
I need to get the selected users userid, how can i get in autocomplete feature?
Say, I have a textbox to enter the n...