I have this code for the controller in "/Controllers/Cubo/FilterController.cs"
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
namespace Mkt.Web.Controllers.Cubo
{
public class FilterController : Controller
{
//
// GET: /Filter...
Hi,
I have a huge problem with this method im trying to make. I have a web page where i need to write a method that returns the editor for a specific property. The method for the color implements the "JQUERY Colorpicker from eyecon.ro".
private static string GetColorBox(string name, int width, string value)
{
return "<input...
Using this tutorial:
http://dotnetslackers.com/articles/ajax/Using-jQuery-with-ASP-NET.aspx
1) The web service is invoked such as
Service1.asmx/HelloToYou
The default web service in asp.net however won't load the page with this rewritten url, instead i can only refer to it as:
Service1.asmx?op=HelloToYou
How do I implement the so-call...
Hi,
I have the following jquery statement. I wish to remove the whitespace as shown below. So if I have a word like:
For example
"#wordOperating System/test" I would like the end result to show me "#wordOperatingSystemtest". (ie without slash and space). The slash works fine but I can't get the space to be removed. Please help!
...
Hi
I have this problem that my sites uses alot of ajax and when a user times out they still are on my page. Now say a user walks away for 10mins(the timeout is set 10mins) now the user is timed out but still on the page.
So they could do a "save" request but now all my action methods that the ajax requests go to have an asp.net mvc aut...
I have a user control with a "More Info" link. When clicking that link, I want a div to appear which gives the user more information.
Where do I put the javascript? It doesn't appear to work when placing at the top of my user control. How do you handle javascript and jquery when you are using a user control? I have jquery included i...
I'm wondering if these two expressions are equivalent, because if they are, it would make this much easier.
$('div', this).filter(':not(.trigger)')...
$('div:not([class*=trigger])', this)...
(this providing a context under which to look for the specified div)
...
I have a hosted Q&A site that I'm looking to augment with additional features not provided by the host. I'm comfortable implementing the server-side features (they should take me around 6-8 weeks), but I'm not able to modify the Javascript that handles the posting of questions/answers.
I'm puzzling over how to add extra scripts that can...
Hey guys, I'm working on a "status"-Updater. It works, there is just one problem, after sending a Status I have to manual reload the page to let the script work again. Do you can help me please? Here's the code:
<script language="javascript">
$(document).ready(function(){
$("form#status_form").submit(function(){
var s_autor = $...
How do I know, using jQuery, if all or none of the following checkboxes have been selected?
Soccer: <input type="checkbox" name="sports" value="soccer" style="chkbox" /><br />
Football: <input type="checkbox" name="sports" value="football" style="chkbox" /><br />
Baseball: <input type="checkbox" name="sports" value="baseball" style="chk...
Hi,
I have a table which has a button to "Add Rows". This button adds a row dynamically with JQuery. It works by copying the first ... and then replacing all the id=".." with an incremented number.
The problem is that the rows have a YUI AutoComplete which looks like the following:
<td>
<input type="hidden" name="location_num[0]" ...
I'm testing google closure-compiler and wanting to compile facebox Plugin with the option "Advanced" , an error occurs the function trying to find "a.H".
Has anyone tried to compile with this option jQuery plugins with a good result.
Thank you.
EDIT:
Clearly this re-naming the jQuery methods, but is it possible to include jQuery and ...
With this markup:
<div id="e">
<div id="f"></div>
</div>
Does $('#e > #f') return the same as $('#e #f')?
...
I have a form that is capturing data sent from a google LocalSearch API. The user has the ability to select a specific result, some or all results via a checkbox i'm injecting into the form with jQuery. The checkbox value looks something like this:
title=Emijean+Web+Design+and+Management&streetAddress=63+James+St.&city=Parry+Sound®...
I'm attempting to get over the hurdle of dynamic form fields in Rails -- this appears to be something the framework doesn't handle very gracefully. I'm also using jQuery in my project. I have jRails installed, but I'd much rather write the AJAX code unobtrusively where possible.
My forms are fairly complex, two or three levels of nestin...
Hi
I have a problem that when a user times out on my site they are still logged in. So they can still do an ajax request. If they do an ajax request on my site my asp.net mvc authorization tag will stop this.
The authorization normally then redirects the user back to the signin page if they fail authorization.
Now since this is an aja...
I have the following jquery statement. I wish to remove the whitespace as shown below. So if I have a word like:
For example
#Operating/System I would like the
end result to show me
#Operating\/System. (ie with a
escape sequence).
But if I have #Operating/System test then I want to show
#Operating\/System + escape
sequence for s...
I've got a web form with a start date field. I've tied a jquery datepicker to the txt field. Now when I choose a date in FF, the selected date is populated in the text box and the calendar popup closes. However when I do the same thing in IE8, the selected date is populated in the text box but the popup remains open. I've also noticed th...
Hi there,
I've got a functional fullCalendar http://arshaw.com/fullcalendar/ working retrieving a single source from Google Calendar for the events like so:
$('#calendar').fullCalendar({
events: $.fullCalendar.gcalFeed(
"http://www.google.com/calendar/feeds/etc", // feed URL
{ className: 'gcal-events' } ...
Imagine a normal page calling javscript in head. The trouble is some of the content isnt loaded untill i click on a link. Subsequently when this link loads the content it wont work. This is because i guess the javascript has already been run and therefor doesnt attach itself to those elements called later on. There is only standard h...