I am trying to create a preview window for my texteditor in my blog page. I need to send the content to the server to clean up the text entered before I can preview it on the preview window. I was trying to use
$.ajax({
type: method,
url: url,
data: values,
success: LoadPageCallback(targetID),
error: function(msg) {
$('#...
Hello,
I am able to run my application just fine on my dev machine but as soon as I publish it to the web server some functionality is lost. Any type of .ajax POST does not work usually with a 401 unauthorized error.
The server is Windows 2008 with IIS7. I also installed Visual Studio 2008 with MVC2 on the server and ran the applicat...
Im trying to post to aweber using just jquery. I have a method call like this
$(function () {
$('#submit').click(function () {
$.post('http://www.aweber.com/scripts/addlead.pl',
{
meta_web_form_id: '12345',
meta_split_id: '',
listnam...
Hi.
I want to show some progress information of a server side procedure (which in fact is an ffmpeg re-encoding).
The best way I though of was to use two different $.ajax() calls on myscript like this:
1) when the form is submitted (which would trigger the re-encoding) one $.ajax() would start the re-encoding like this:
$.ajax({
...
I have an issue where I have a partial view that returns some HTML to be displayed. Its called when something is clicked on the page using jquery. The problem is that no matter how I call it, i get back an empty string even though it reports success. This is happening to me using Chrome, going against my local machine.
My controller loo...
I am using jQuery and my js file thats calling a jquery function resides in totally different directory than jQuery is in. I need to call this function reloadPage like this from js file
reloadPage({param1:'First Parameter', param2:ID});
but it gives me an error
Line: 341
Error: Object doesn't support this property or method
Line ...
Hi,
I have a portfolio gallery with thumbnails along the left column and a large image on the right/center column. When the user clicks a thumbnail, this script loads in the large image and displays it in the place of the current image. Of course, there are some awesome animations happening. The script runs perfectly in IE 6 (go figure)...
Hello, im trying to use the jQuery UI autocomplete to communitate with a webservice with responseformate JSON, but i am unable to do so.
My webservice is not even executed, the path should be correct since the error message does not complain about this.
What strikes me is the headers, response is soap but request is json, is it suppose...
Please tell me if there's an easy way to convert a DataTable to a HashTable or a SQLDataReader to a HashTable. I have to parse it through javascriptserializer. the code i m using, having some problem. please take a look and guide me.
try
{
using (SqlConnection conn = new SqlConnection(ConnectionString))
{
using (SqlComma...
Hello there. I'm trying to validate multiple forms in one single page with the jQuery validation plugin but it validates only the first form in the page.
Here is my code:
$('form.reply_form').validate({
submitHandler: function(form) {
$(form).ajaxSubmit(optionsReplies);
return false;
}
});
Is for a list of reply forms in th...
Hello,
I am trying to get jQuery.post() to run my php script and then open a jQuery UI dialog with the data that php script returns. Its supposed to come back as a form with a table and a textarea in it. It works great with alert(data); and i get a pop-up with all my data.
The problem starts if i turn off alert(). Now it opens 2 dialo...
I have this function
function onclickRowRecord(recordID) {
$.ajax({
type: "POST",
url: '/file/to/post.to.php' ,
data: {recordID:recordID},
success: function(data) {
//how to post this to function howToPost(recordID) the recordID
}
});
}
function howToPost(recordID){
alert(recordID);
}
so how...
Hi,
I'm a jQuery total n00b.
In my rails app this what happen:
I'm on the homepage, I click this link:
<a href='/betas/new' rel='facebox'>Sign up</a>
A beautiful facebox popup shows up and render this views and the containing form:
# /app/views/invites/new
<% form_tag({ :controller => 'registration_code', :action => 'create' }, :id...
Hi everyone, I'm very new to jquery and programming in general but I'm still trying to achieve something here.
I use Fullcalendar to allow the users of my web application to insert an event in the database. The click on a day, view changes to agendaDay, then on a time of the day, and a dialog popup opens with a form. I am trying to comb...
Ive got a jQuery navigation menu loading external content into my #main div, which works fine when the content is static, but the site im working on contains jQuery galleries/slideshows which id like to call into the div. The problem im having is when the gallery is loaded, the images all appear but the jQuery functionality does not work...
Here is the scenario :: Setup
I have a list of Categories, and within those categories i have sub categories, and wihtin those i would have sub sub categories, etc. Follow?
Ex:
Category Flow that Exists
Ex 1. Auto -> Parts -> Tires
Ex 2. Auto -> Body -> Hood
Now
On the ui i would initally display Auto and on "clic...
I have a jQuery dialog. All of the fields are posting correctly except for the drop-downs, the value is getting passed as null rather than the selected value.
<div id="popupCreateCompany" title="Create a new company">
<form>
<fieldset>
<p>
<label for="company_name">Company Name:</label>
<%= Html.TextB...
I have 7 IP cameras in a building on the LAN with a Mac OS 10.6 server. The cameras are broadcasting individual mjpg feeds, which are available on individual ports outside the subnet. Each feed is protected by http digest authentication.
I would like to figure out 2 things:
what is the best way to display a mjpg feed in a web page? (I...
My site is for listing theatrical productions
(http://theaterOnline.com)
I want to use a drop down list to enable users to filter the listings by location or genre.
The following code refreshes the screen:
$("#cfilter").change(function() {
$('#calendar').fullCalendar('refetchEvents')
})
but I need to be able to change SRC in t...
Hi there,
I have some drag and drop functionality on my website, I am wanting to hightlight the area that is droppable with a chage in border color when the draggable element is clicked/starting to be dragged. If the click/or drag stops I want the border of the droppable element to change back to its origianl state, I currently have th...