Looking to pass variables from c# to javascript to use some jquery code. Passing doubles, ints, strings, arrays. Does anyone know how to do this?
for example if I have this code snip in c#:
string blah = "this is a blah string";
I would like to pass this into javascript so that I could use a mouseover event in jquery:
$('#myDiv').mo...
Using mysql, c#.net, Java Script
I have the web application, i want to create a user limit for my application which means i have to use some license for the users....
For Example
customer need the application for 3 users, so application will work for 3 users, if customer need to extend the user from 3 to 10 means, i have to provide a ...
This is what I am trying to do: Once submit a form on my main JSP/HTML page a new page with some link opens. When I click on any of the link the link should open in the parent Window. I.e the Window I started from. How do i do this?
...
I'm checking out amazon simpledb documentation. They mention only server side languages.
Is there anyway to insert data into the db directly from the client side without going through a server?
If not, how come?
...
I'm trynig to come up with a clean and efficient way of handling form input names when dynamically adding more to the POST array.
For example, if I have the following form:
<fieldset>
<input type="text" name="users-0.firstname" />
<input type="text" name="users-0.lastname" />
</fieldset>
I then click an 'addmore' button which d...
Hello,
I have a query invoice which only updates the total values when a field is altered. As I am generating the invoice items using PHP I really need the values to update as soon as the HTML is generated.
How can I call the update_total function the moment the document has finished rendering?
Thanks,
Tim
...
I'm building a simple image gallery with jquery but running into an annoying problem. Since the images are of various sizes I have centered them all to make it look even. However the built in fadeIn/fadeOut methods throw this centering awry and I'm not completely sure what is going on. I tried manually adding the centering class again th...
I simply chose an asp.net ajax web form, and I was presented with a page similar to the below mentioned one:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="AppReport.aspx.vb" Inherits="ism2_AppReport" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">...
There is a textbox and a button that validates the entry inside the textbox.
That if it should not validate the presence of illegal characters in the form.
Suppose I entered the following word "Lorem# %ipsum^"
On clicking the button, two things should happen
If there sre any special chars like #$%^&, then the form submission shoul...
hello, can someone help me with jquery. i have a html TAG like this
<p class="celak">hohohohoho</p>
and i want to make the output (give its parent) be like this
<div class="celak-parent"><p class="celak">hohohohoho</p></div>
is there somebody know which jquery method can do that?
$('.class').???
sorry if my write not very good.
thi...
Hi,
I am trying to block the unload event for a page until I get a response from the server for an async json call initiated by the client.
To make it clear, the scenario is the following: I need to save the user changes into a database when they close the browser. While doing so, I will show a small div and hide it when we're done ...
I have an <iframe> whose src points to a plain text file (not HTML). The text gets loaded and displayed on screen, but seems to be hidden to JavaScript.
In other browsers, iframe.contentWindow.document.body.innerText is enough to get it for you, but IE returns an empty string in that case.
Is there a way that IE can access the text ins...
Hi,
is there a way to include a checkbox column in the new extjs widget TreeGrid ? Marking the nodes attribute checked to false/true just doesn't work as it was for the TreePanel.
Cheers
...
So BSON is JSON serialized right?
{"hello": "world"} → "\x16\x00\x00\x00\x02hello\x00 \x06\x00\x00\x00world\x00\x00"
But why is it called Binary Json? What does binary stands for?
I always tend to associate binary with 10101010101. But the BSON serialization format above wasn't in 101010101010 form.
Could someone explain for me ...
Hi everyone,
The more i use JavaScript the more i try to come up with efficient ways of loading and executing my scripts.
One method i have found to be really useful is loading javascript without blocking.
function include_js(url) {
var script = document.createElement("script");
script.type = "text/javascript";
script.src...
Hi,
I am looking for an efficient way to expand/collapse hierarchical table rows using jQuery. The problem is, that the expand and collapse functionality differs.
Initially, only rows with class level_0 are show, all other rows are hidden.
expand should only show the next level, so clicking on row id=10 should only make rows with id=1...
I'm using a background image in a div and want to have the div behave differently depending on whether the image loads or not.
So, rather than doing img.onerror | img.onload
I want to do style.backgroundImage.onerror or something along those lines
this isn't possible, is it?
...
In my Web Application, i have a data table(Displayed from DB using PreparedStatement). Each row have an edit button. A form is situated below the table. If i click edit button, the data from the row will be filled into the form. So, that i can edit and save it.
Or, i can enter new data in the form and a add new row. The issue is the "S...
Helo,
A library like jQuery is fully loaded and comes with many functions that we may not use in our scripts. Am wondering if there is a way to say read my script find out all the jQuery functions that I am using and its dependencies and then remove the remaining functions from the jQuery library. This could be applied to virtually any ...
How to disable month end Days like 30,31, 28(feb), 29 feb(leep year)? in js calender
...