Thanks Jarry, it works.
I changed your code from:
msg.find('.messager-input').attr('type','number');
to:
msg.find('.messager-input').numberbox({width:'100%'});
to convert the input to an EasyUI numberbox.
EasyUI
Home | Help | Search | Login | Register |
1
General Category / EasyUI for jQuery / Re: Restrict user input to only numbers in easyui $.messager.prompt
on: April 21, 2024, 10:08:28 PM
|
||
Started by jahangir - Last post by jahangir | ||
Thanks Jarry, it works.
I changed your code from: msg.find('.messager-input').attr('type','number'); to: msg.find('.messager-input').numberbox({width:'100%'}); to convert the input to an EasyUI numberbox. |
2
on: April 19, 2024, 10:38:00 AM
|
||
Started by Coder - Last post by Coder | ||
for simple export there is no need for ext lib
|
3
on: April 18, 2024, 03:13:33 AM
|
||
Started by Wojak - Last post by Wojak | ||
I changed to the newest version, but still the same problem. Is there a way to fix it by calling method?
|
4
on: April 18, 2024, 01:38:02 AM
|
||
Started by Wojak - Last post by jarry | ||
This example works fine.
Code: <!DOCTYPE html> |
5
General Category / EasyUI for jQuery / Re: Restrict user input to only numbers in easyui $.messager.prompt
on: April 18, 2024, 01:27:26 AM
|
||
Started by jahangir - Last post by jarry | ||
Please try this code.
Code: var msg = $.messager.prompt('My Title', 'Please type something', function(r){ |
6
on: April 17, 2024, 05:35:04 AM
|
||
Started by Wojak - Last post by Wojak | ||
In strange cases the datagrid becomes unresponsive. You cannot change the column width, the width of the data columns changes.
If i use Code: $('#example').datagrid(); Reinitialized works fine My code for datagrid Code: $('#example').datagrid({ |
7
on: April 16, 2024, 10:29:16 AM
|
||
Started by Coder - Last post by Wojak | ||
8
on: April 16, 2024, 07:06:30 AM
|
||
Started by Coder - Last post by Coder | ||
datagrid-export-1.0.3.zip/datagrid-export.js:
LINE 49-51: Quote data.push( '<td style="'+tdStyle+'"> '+value+'</td>' ); |
9
General Category / EasyUI for jQuery / Restrict user input to only numbers in easyui $.messager.prompt
on: April 16, 2024, 04:25:45 AM
|
||
Started by jahangir - Last post by jahangir | ||
How do I restrict user input to only numbers in easyui $.messager.prompt
|
10
on: February 29, 2024, 07:45:25 PM
|
||
Started by thiago_brum - Last post by jarry | ||
This example works fine.
Code: <!DOCTYPE html> |