hi,
How to close combobox when onmouseout?
<select onmouseout="">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="mercedes">Mercedes</option>
<option value="audi">Audi</option>
</select>
...
Hi,
I am trying to invoke a script function on my mvc view as follows.
But it's not happening. what may be the reason behind it?
<input type="text" id="hdnTemp" value="xyz" onload="test();" />
<script type="text/javascript">
function test() {
alert();
...
Hi,
I would like to store some business flags (like: isFavorite, isOnLive etc.) per an html table row that won't be visible to user.
In practice, I have a simple ADO.Net DataTable on my code-behind which is used as a data-source for a asp.Net GridView control.
This table contains some business flags on its 0th, 1st, 2nd columns.
I ne...
hello,
I have a
<a href="my_redirect_page.php?link=mylink">my_text</a>
link on my page, and the following line in my_redirect_page.php:
header("Location: ".$mylink);
but after the redirection, if I click on back in my browser, the "my_text" for the link does not appear as visited (in purple, instead of blue). How do I work arou...
I have one server located at example.com running apache, serving my static html files.
I also have a json service located at api.example.com running python with cherrypy.
The user requests example.com and get the index html page. On that page I make an ajax request with jquery to the json service. document.domain returns example.com
...
I've an html page which has many dynamically created input boxes. The number of text boxes vary each time.
I want to calculate the sum of the numbers the user has entered, and disply it. When the user delete one number the sum should auto calculate.
How can i do it with javascript?
Thanks
...
Hi,
I have a javascript function for shrinking images but I dont want the shrinking function to work if an administrator logs in.
Here is part of the code
function shrinkImages(){
var i=0, maxWidth;
//if (/^(?:artistnews|albums|news|exitnews|reviews)$/.test(arg(0))) maxWidth=236;
if(typeof homepage != 'undefined') maxWidth=530;
el...
hi friends,
i write external js and write JSON string in js file want to parse main html file's js tag ,but it gives like **error: missing } in xml expression**
some body plz help me
...
So I have this in my RoR app, it works in FF, Chrome, and Safari... but not in IE7...
neither li works with or without javascript.
Why does this happen, and how do I fix it?
<li class="decline" name="javascript_required" style="display: none;">
<a href="/view/close/1?status=3" rel="facebox">Decline</a></li>
<noscript>
...
Hello
I've stumpled on something queite nice, I've wanted to use in some upcoming project.
It's an animated opacity on load, or you can call it fade in.
I wondered if you could link some elements together (ex. 3) so element2 only starts when element 1 i finished, and element3 when no. 2 is?
Or should you define som kind of delay on ...
Hello everyone! I am having a spot of trouble trying to paginate some results from an XML file via jQuery, basically I need to display 10 Magazine covers and when the user either click previous or next another 10 are shown, respective of what has been clicked. Here is my code:
$(document).ready(function() {
$.ajax({
type: "GET",
...
In my .aspx I've got the following javascript variable defined:
var action = <%=ProdView %>
In code-behind this returns a custom enum value:
protected ProductView ProdView { get; private set; }
I would figure that this would automatically be converted to a string in javascript? Looks like no because I get the runtime error "Item i...
Had a idea and now trying to make it happen.
Idea: Have a HTML page with several inputs with CSS to make it look liked lined paper. Than at the end of each line move the focus from one input to the next so the user can continue input on a page mimicking lined paper.
Problem: Have no way of detecting or capturing an event when the input...
Are there any means of debugging JS code, or at least get errors, on Android devices?
...
I'm having trouble getting the position of an address. However, this problem occurs only the first time that I run, ie it is necessary that every time I make the query, I click twice, for only the second values are obtained.
I believe the problem is due to be asynchronous method. But I am not able to solve the problem. Some of his frien...
I've got the following property in the code-behind of my .aspx:
protected string CurrentProductView
{
get
{
string viewName = string.Empty;
viewName = Enum.GetName(typeof(ProductView), currentProdView);
return viewName;
}
}
In my .aspx I've got some Javascript tha...
Hi all,
I have a jsp and a js files. I would like to pass arrays from the jsp to a function in the js file via the onload attribute in the body tag. How can I do that?
For example:
<head>
<script language="javascript" type="text/javascript">
var indexNames = ['chIndex', 'recordIndex'];
var indexLocation = [0, 1];
<...
Hello,
I am trying to set up google ecommerce tracking code, I have followed google examples but It doesnt seem to be having any effect on their site.
Does this code look correct?
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXX-X']);
_gaq.push(['_trackPageview']);
_gaq.push(['_addTrans',
'1-112461-12777...
Hello everyone,
I have the following JQuery Code concerning my tabs :
$("#onglet>ul>li").click(function(){
$("#onglet ul li").removeClass('Selectionne').addClass("OngletPrincipal");
$(this).removeClass().addClass('Selectionne');
$(this).unbind('mouseenter mouseleave');
it works, but as soon as I click on a tab which le...
I am having a little trouble setting the value of a combo box within the code.
I have the following select box
new Ext.form.ComboBox({
id: 'address_type',
name: 'address_type',
editable: false,
disableKeyFilter: true,
forceSelection: true,
fieldLabel: 'Type',...