Hi every1,
I have a question about the ASP.NET Updatepanel.
My problem is that I will set the focus on a textbox after loading the datasource
in the Updatepanel.
How can I control it ? The best solution for me is the option with JavaScript. But it's not mandatory.
Thank's for help !
...
Hi guys,
I am using JSF2 and Java to build a web application. I want to build a form like the one at the picture below:
When somebody unchecks the checkbox the form should disappear:
Here is an example with gwt.
So far,
I tried some stuff with the <f:ajax> tag and an PropertyActionListener in the managedBean but it didn't work. ...
Can someone help me to validate the following rules using a RegEx pattern
Max length : 15
Minimum length : 6
Minimum character count : 1
Minimum numbers count : 1
Consequent repeated character count : 2
...
As part of a mapping application, I am implementing a crude sort of tiling.
I am looking for an efficient way to know which tiles need to be loaded according to the current map view port.
In order to do that, I thought of taking the point in the center of the map (for example) and loading the tile for that point.
I need an algorithm f...
Hi!
I am using Mootools extensively for a site which I am developing. But recently I noticed a problem that the animations slow down alot when I zoom (using the browsers Zoom In) in into the site. What could be a possible reason for this problem ? Or is this problem inherit in Mootools itself. This happens in Chrome 6.0.472 as wel...
I'm building a project that relies heavily on data read from a bunch Garmin eTrex HC devices, to do that I use the Garmin Communicator Plugin API, I have successfully found the device, read the data and uploaded it to a server where I will do further data manipulation.
However, I now want to delete the data I have read from the device, ...
In the 2006 version of DOM events level 3 specification there is a chapter "Event groups", but in the current version there is none. What happened to this chapter? Was it intentionally removed? It would be very helpful to have (partially) ordered event handlers list.
...
<script language=JavaScript>
function add()
{
***Z***=3025;
}
</script>
<form........>
<input type ="submit" onClick="add()"
</form>
<a herf="http://XXXXXXXX.co.uk/XXXX.qmd?pack_id=***Z***"></a>
need to put the Z*emphasized text* value in the URL
The value of z will be produce by another java script function ADD
...
I have a html page (index.html) which calls the ajax page(aj.php). The Ajax Page will return some number of <li>'s, like
<li>Blue Flower</li>
<li>White Assassin</li>
I already have some list items in the <ul> of the html page(index.html). When i try to append the result of the ajax page i.e.,<li>'s, it is appending at the last.
I wa...
I'm one of the developers of TryAgain, a Firefox add-on, that displays a custom error page when a website fails to load. It essentially replaces Firefox's netError.xhtml with a customized version.
However, I've run in to some fairly terminal compatibility problems between 3.0.*-3.6.* and Fx4b5. (An entry in netError.dtd has been renamed...
Hi!
I know that there is a difference between ff and ie regarding the attribute 'class'.
I want to put in the global.js something like that:
function GetVarByBrowser()
{
if (navigator.appName == 'Microsoft Internet Explorer')
{
var getClass= 'className';
}
else
{
var getClass= 'class';
}
}
and in the page i adde...
Using
UIATarget.localTarget().frontMostApp().logElementTree;
when I know that there is a keyboard present (after tapping a text field) shows that there is a UIAKeyboard element in the hierarchy. However, it does not have a name. I'd like to get a ref to that so that I can dismiss it from the script.
My best guess is to use something li...
I don't know if this is even possible, but in my rails app, I have this currently to put text in a text_field to be a description instead of having an external label:
<% inside = "Search for Customers" %>
<%= text_field_tag :search, params[:search],
:style => "color:#aaa;",
:...
Given the following xml:
<form>
<personalDetails>
<name>John</name>
</personalDetails>
<financeDetails>
<income>
<salary>1000000</salary>
</income>
</financeDetails>
</form>
I know that is it possible to create the above xml as follows (which is very cool):
var xml:XML = <form />;
x...
I'm building something similar to this - http://www.impressivewebs.com/demo-files/content-switcher/content-switcher.html
I wondered if anyone had any ideas as to how I can show the current panel in the navigation WITHOUT using JavaScript - pure CSS.
I'm fairly confidant it's not possible but I thought I'd ask anyway.
Just to clarify...
I have a DIV with a mouseout observer.
This DIV have also child Elements. mouseout event will alse be fired if the mouse pointer enter any of its child elements.
How can I prevent this behavior?
...
i want to pop up a dialog before a html page is unloaded asking to unload page or not if yes is selected then unload continues else if no is selected unload event is canceled...
...
Hi everyone!
I'm learning jQuery right now and the first "bigger" project is a self made Accordion/sliding Navigation.
My HTML Code looks like this:
<dl>
<dt><a href="#">Prologue</a></dt>
<dd id="prolog">
<div>TEST</div>
</dd>
<dt><a href="#">Projekte</a></dt>
<dd id="projekte">
<ul>
<li>TEST</li>
<li>TEST</li>
...
Why this doesn't work in Firebug console:
function(s,e) {
setTimeout(function(){grvClosingDocs.Refresh();CBPDocFlow.PerformCallback();},100)
}
While this does:
setTimeout(function(){grvClosingDocs.Refresh();CBPDocFlow.PerformCallback();},100)
...
Hi there.
I need to override some function from a contributed module.
I used drupal_add_js() to load my javascript but it loads after the contrib module, so I cannot override.
My module is empty with only hook_init() to do the job.
Also tried it in hook_footer() no success.
Any ideas are hugely appreciated.
...