I'm a little worried about posting information via jQuery. In particular when, in WebForms, I do a call to a WebMethod within my form I can obviously intercept the call and data.
Is there any way to secure this communication or is it a case of write your services in such a manner that they can't be used against you?
If it's the latter...
I used to be pretty comfortable with using jquery for json, but I'm having an odd issue tonight that I just can't wrap my head around. JQuery sends the request, the server fills it properly, but then there's no way to pull the data out of the json response.
The server's ASP.MVC and serializing using the JsonResult/Json().
I'm complete...
I am getting the Flash of Unstyled Content as this loads and can't get any of the solutions to work:
<html>
<head>
<title>demo</title>
<link type="text/css" href="css/cupertino/ui.all.css" rel="stylesheet" />
<script type='text/javascript' src='js/jquery.js'></script>
<script type='text/javascript' src='js/ui.core.js'></scri...
I'm pretty new to all this.
I'm using ASP.NET MVC C# LINQ to SQL.
I have an edit page that loads Authors and all their Books.
The Books are loaded via an Ajax call.
<script type="text/javascript">
$(document).ready(function() {
LoadBooks();
});
function LoadBooks() {
$(".Books").hide()...
hi.
i have an 2 "tr" under
tr one have an file upload control
tr two have an textbox control.
so i have an radio button list woth three values
1:image
2:video
3:Audio
by default i need to show file upload control visiable that is the 1"tr". but once user clicks on video/audio option in radio button list then i...
What are the points to bear while designing and coding a web application where the approach is to render components on the client using jQuery/ScriptServices (as data source), similar to an igoogle page?
...
I have an inline styles in my page as :
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>:: Inline Style Page ::</title>
<style type="text/css">
<!--
body
{
background: #fff;
font: normal 12px Tahoma, Verdana, Arial;
color: #636363;
}
#header
{
he...
Hello , i'm use jquery autoCompelte plugin. and i want to move the list while typing in type text area after the line
...
I want to insert an image tag into a block of text so that the image is, say, 100 pixels down in the DIV.
<div>
A lot of text in a text block and a <img tag> somewhere
that is floated left or right and positioned inside the text block
</div>
So, the tag above is put in the text block to be floated so that it is positioned...
Hi all,
I've a got a: it works in FF but not in IE problem with my jQuery code, here the little snippet of code
jQuery(this).click(function()
{
jQuery.post(href + '&rnd=' + Math.random(), function(data,status)
{
jQuery('.progress').show();
if(status == 'success')
{
var d = jQuery('<div id="insertDiv" />')....
Hi,
The problem I'm having is i'm working on an invoicing system. Which uses this,
$(document).ready(function() {
$('#add').click(function() {
JQuery('#lineItems').append('<input type="text" name="description[]"
class="ui-corner-all text invDesc" />
<input type="text" name="qty[]" class="ui-corner-all ...
Hi,
i'm just using the JQuery validation plugin.
i have the following spec: 'if the form isn't used in 10 seconds, give the user a warning, if he doesn't do anything, submit it anyway'
besides the timer etc. i have this code to submit the form:
timeoutId = setTimeout(function() {
$("#session_expired").val("true");
$("form:first").val...
I'd like to include some html in a jTemplate variable - e.g.
<td class="numeric">{$T.total_price}</td>
Where total_price is:
"$12<span>.00</span>"
Is there any way I can get the span to show up as html?
...
Hey there,
I've coded a little simple script that allows me to use custom checkboxes. It works fine on FF, Opera and webkit based browsers but, as usual, IE is giving me headhaches.
The behaviour on IE is really strange, it seems like it's checking and unchecking random boxes on each click. Well, maybe it's not but I really don't see a...
Hi, this is a small, but very annoying, glitch in my form.
I have a checkbox, that if clicked displays others checkboxes and input fields for the user to add more information. If this trigger checkbox is unclicked, the extra options dissapear.
However (the plot thickens), if another checkbox is checked in the form, the trigger checkbox...
Here's my scenario:
I'm using the WebBrowser control in a WinForms app to display data. The HTML is served via the DocumentText property and I want to use jQuery to interact with the contents. Loading jQuery from the web (Google APIs) works:
actual html inside DocumentText, head block:
<script type="text/javascript" src="http://ajax.g...
I wanna move a div block to the top, so I coded like this:
CSS part:
.movingPart{
margin-top:80px;
}
jQuery part:
$(document).ready(function() {
$('#btn').click(function() {
$('.movingPart').animate({
"margin-top":'0px'
});
});
});
it works perfectly in chrome, but doesn't move a little in firefox, why???
t...
Hi,
I have a gridview control on the page. when the page is loaded for the first time i am binding the data to the grid. But on the client side user can copy a row and add below in the grid. So iam doing it using jquery $(CpRow).clone(true).insertAfter(CpRow). But when the page is postback the clientside added row is lost due to viewsta...
Hello!
I use JQ - validation plugin to validate my form. But i dont know what kind of validation rules in jquery! Could you suggest me a page where i can read about rules?
I have two field, NAME and AGE, and i want it to validate for REQUIRED, MAXLENGTH, NUMBER /CHAR, MIN, MAX
rules: {
new_name: {
required: true,
maxlengt...
Before:
<select id="NumberId" name="NumberId">
<option value="">ZERO</option>
<option value="4">FOUR</option>
<option value="5">FIVE</option>
</select>
Using JQuery, modify the value of the option with an empty value to 0 (zero).
After:
<select id="NumberId" name="NumberId">
<option value="0">ZERO</option>
<option value=...