Hi. Is there a way to have a confirm dialog box display the value a user typed in a text box on a form? (For example, if the user types 100.00, I'd like the dialog box display a message something like, "Confirm Amount. Click OK if $100.00 is the correct amount.")
...
the precondition: I'm working on the android automated test, so we can not touch the source code of app, but just test it.
the question:
How to get the instance of the dialog after it pop up?
After we get the instance of it, it will be so convenient for the further operation, like directly set the value of it, instead of send the k...
Hi folks,
I have just started using jQuery in the past couple of weeks and am really enjoying it - damn fantastic thing! I have one problem at the moment though. Here's the basic structure of my page:
<body>
<div id="accordionContainer">
<div class="accordionSectionHeader">
Some header label...
</div>
<div class="ac...
I know I can use the following to close the dialog box by clicking outside:
$('.ui-widget-overlay').click(function() { $("#dialog").dialog("close"); });
But how do I change this so it works for every dialog box, ie I want to say close any dialog box as we have multiple on a page and would be easier to have one line of code?
...
The following code is guilty of generating this unusual problem:
<script type="text/javascript">
$(document).ready(function () {
$('.deleteRow').click(function (event) {
event.preventDefault();
if (confirm('Delete?')) {
var $t...
Does anyone have any dialogs that will allow a user to pick a number within a certain range? It seems like this would be a fairly common need, but I can't find a common dialog for it and I'd rather not have to spend the time creating my own.
Any help?
...
Hi, I am loading content with jquery.load() (1.4.2), which includes a form that I turn into a model dialog. When I open the dialog, I dynamically populate a form select list.
It works the first time I load the content, but on subsequent loads it breaks and will only return the last selected item from the previous load. (I also think i...
I've read on Reto Meier's blog that he doesn't recommend the use of modal "Loading..." dialogs in Android applications. Is this a general consensus among developers?
If I have a login screen what should I display when the user tries to sign in? Until now, I have used a "Signing in..." indeterminate progress dialog. Should I use the app...
At the moment i have this code:
<!-- modal content -->
<div id="osx-modal-content-1">
<div id="osx-modal-title">OSX Style Modal Dialog</div>
<div class="close"><a href="#" class="simplemodal-close">x</a></div>
<div id="osx-modal-data">
<h2>Hello! I'm SimpleModal!</h2>
<p>SimpleModal is a lightweight jQuery Plugin w...
When dragging a jquery dialog with an iframe inside , the drag stops if the mouse goes over the frame contents while dragging. It seems that the iframe takes automatically the focus.
is there any way to prevent this and make drag normal?
var iframe=document.createElement('IFRAME');
$(div).append(iframe)
.dialog();
...
I wish to have an 80% by 80% sized view popup, grey out the background and take focus?
In essence it's a "sub" view that is model.
Strategies ?
...
Hey, I just got started designing dialog boxes and windows forms, and I had a basic question.
When you use something like a windows installer, it has a next button, and when you click it the dialog completely changes layout in moving on to the next step. My question is, is this done by loading a completely new dialog box and getting rid...
Hi All,
I am trying to create a custom dialog in Android. But whatever I tried to do, I am not able to change the width of the dialog. It just remains the same. The following is the view that I am setting as the content for the dialog.
<RelativeLayout
android:id="@+id/current_stats"
android:layout_width="wrap_content"
android:layout...
I have an Activity running as a Theme.Dialog. Can I set its title to an "ellipsize" style? Currently, the text is being populated in onCreate() with setText(). There's no this.setEllipsize() like on TextView.
Or, is my only option to write a Custom Dialog and set the title style there? I'd like to know if that's possible before heading ...
In my application, I have a large structure of many objects and children. I'm designing a set of property sheets that you can open to inspect a specific object (and it's base classes) so you can modify them directly.
What's the best strategy for populating these dialogs? The current design is to test the current object on dialog open,...
i want to open twitter auth in my webview rather then opening in browser, any good tutorial how to play with webview in dialog and loading it inside dialog?
...
Dear folks,
A question that hasn't popped here before:
How to start downloading / truly loading a page (html or php) inside a jQuery modal/dialog window, AFTER a link or button is clicked?
See, currently i blieve that all .load() url objects HAVE to be inside the page and load is actually just opens them, doens't really start fetching ...
From my application I wish to open a dialog, which should close immediately (after a short message) under some circumstances.
I've tried this:
procedure TForm2.FormActivate(Sender: TObject);
begin
if SomeCondition then
begin
ShowMessage('You can''t use this dialog right now.');
close;
modalresult := mrCancel;
end;
end...
Hello, I am trying to use an alert dialog to prompt for a username and a password in android. I have found this code here:
if (token.equals("Not Found"))
{
LayoutInflater factory = LayoutInflater.from(this);
final View textEntryView = factory.inflate(R.layout.userpasslayout, null);
AlertDialog....
hi all,
is it possible to smoothly fadein a jquery modal dialog? (can't find anything in the docs).
i've tried fadeTo but didnt help.
thanks in advance
...