Is it possible to make a call from a view to a controller via ajax (in my case using JQuery) that doesn't return anything? I'm just setting some variables in session and there is no output to display.
I tried setting the method on my controller to void but it won't work. Right now I've marked the method return as JSonResult and I'm simp...
Hello,
Can we put JQuery to use to create columns of equal height? If yes, how?
Thanks
...
Hi, I'm trying to develop a gantt like chart using jquery plugins and asp.net mvc2...
on the y-axis i like to have names of people to whom tasks will be assigned...
while on the x-axis i like to have the tasks...
i haven't found good plugins for this...so any suggestions???
it is also important to have more than 1 task on a row, i.e. sam...
When clicked on a link on my web page, I want to redirect to third party web page (like google) and prefill the search window with my query and simulate clicks.
Is it possible to do with just jquery?
...
I have this thumbnail list and would like push the image paths (sources) into an array: tn_array
<ul id="thumbnails">
<li><img src="somepath/tn/004.jpg" alt="fourth caption" /></a></li>
<li><img src="somepath/tn/005.jpg" alt="fifth caption" /></a></li>
<li><img src="somepath/tn/006.jpg" alt="sixth caption" /></a></li>
</ul>
...
HI all,
I am just starting to use jquery, I need to do something that I am not sure is possible.
I know to use if statements on jquery is like normal javascript but I dont know how to use the jquery selectors on a normal if statement.
The function its currently working, but I am having two problems which I don't know how to fix, (I wou...
Hi,
I am beginner to JQuery. I am preparing a test engine.. I want to display question with duration say 30 secs. each question have to displayed 30 secs after that next question should be displayed this should be repeated till the last question. Can we do this with Ajax? waiting for ur reply... any ideas or suggestions
...
Hi Guys
I'm trying to use the following code to log users in:
$("form").submit(function(event)
{
$.ajax({
type: "POST",
url: $(this).attr("action"),
data: $(this).serialize(),
complete: function(XMLHttpRequest, textStatus)
{
if (XMLHttpRequest.status === 302)
{
...
When you have a div with a click handler attached, the iphone darkens the div as a click indicator, when the div is clicked.
Example: view on mobile safari
http://jsbin.com/awejo3/4
My question is, how do I turn this behavior off? This is probably useful for most iphone users, but in some types of rich media applications, this is bad.
...
Hello,
I'm trying to implement uploadify, but for some reason I'm failing at getting the event onComplete.
My code looks like this so far and the uploadify can upload the files to the folder that I've selected.
Sys.Application.add_load(AddAdvertise);
function AddAdvertise() {
$('.flUploadImage').uploadify({
'uploader': '/T...
Hi,
I'm new to Jquery.
I'm using JQuery UI and i have imbricated Tabs : Tabs in tabs.
____
tab 1 | tab 2 | tab 3 | tab 4| tab 5
______
tab 1-1 | tab 1-2 | tab 1-3 | tab 1-4| tab 1-5
I'm using $('#div').bind('tabsselect', function(event, ui) {
selectedTab = ui.index;
alert('selectedTab : ' + selectedTab);
});
to kown the ...
Hello,
I'm trying to create an interface similar to IGoogle, where I would have different DIVs populated with links (UL/LI - list items) and user could drag the items from one div to another.
To be more precise, I want to have one DIV that has all the available list items and other DIVs that are user defined (user drags items from the...
$.post($(this).attr("action"), $(this).serialize(), function(json) {
alert('red');
AddItemAjax(json);
}, "json");
This works in Chrome but not IE or FF.. it fails to just run this line of code. Ive made sure it gets to this point but fails when trying the post! (note i have the alert('red'); to let me kn...
With jquery autocomplete I have a hidden input field to store ID because the name gets inputted into the autocomplete field on select.
Like this:
$("#Clients").result(function (event, data, formatted) {
if (data) {
$("#ClientID").val(data["client_ClientNumber"]);
if (data["ClientName"...
Hi,
i am trying to make simple show-hide example but i cant select hidden elements with eq() or not().
Basic structure is like this :
<ul id="info">
<li><a href="#">İletişim Adreslerimiz</a></li>
<li><a href="#">Kroki</a></li>
</ul>
<ul id="info-ic">
<li><p>Adres Bilgilerimiz</p></li>
<li><p>Kroki Bilgisi</p></li>
</ul>
and...
For example:
I want to add target=_blank in any PDF link comes inside this css class "class="newWindow"
Before adding script
<div class="newWindow" >
<a href="pdf1.pdf">link text</a>
<a href="pdf2.pdf">link text</a>
</div>
After adding script
<div class="newWindow" >
<a href="Pdf1.pdf" target="_blank">link text</a>
<a href="Pdf2...
I am trying to store an object as an attribute in another object but can't seem to access it.
Is it possible?
<script language="javascript">
$(document).ready(function() {
//create a TestObject
function TestObject() {
this.testProperty = "green";
}
//and an instance of it
var testObject = new TestObject()...
Hello
$('#lPass').focus(function() {
if (this.value == this.defaultValue) this.value = '';
$(this).after('<input type="password" id="lPass" size="10" value="'+this.value+'"/>').remove();
}).blur(function() {
alert(1);
});
<input id="lPass" type="text" size="10" value="Password"/>
onBlur not working
Any ideas?
...
How can I post data using Jquery from selected data to the PHP?
HTML code:
<select id="test" title="test" class="test">
<option value="1">1
<option value="2">2
<option value="3">3
<option value="4">4
<option value="5">5
</select>
Jquery:
$('.18').click(function(event) {
var test_s = $('#test').val();
$('.opc_mfont').l...
I have a text area that is required to be filled in before continuing on with a particular process.
For normal text boxes I can retrieve all the blank inputs by adding the attribute selector [value=''] the the selection string.
When I do that with text area it does not work.
If I am in IE and not in strict mode it does work, but that ...