How to get values through JavaScript
HelloI have a report from the region, in this report a single column is select list with values 1,2,3,4,5 & other columns are text fields.
I want to if the user selects 1 of the selection list, then the next column of the report must be disabled.
Any help would really be appritiated.
Thank you
onchange="javascript:setvalues(this,'here your text filed name')";
Note: field name of text as f01...
put the code above in the report attributes column-->
Select the column in the list--> in the form of--> attributes of the element element
Then
-->
Similar Questions
-
Original title: how to make the command prompt as Administrator via dvd, USB system recovery / then to repair, recovery environment invites of commands in menu on win vista, win 7, win 8?
Hello world?, please can someone tell me how do the command prompt as Administrator via/via menu environment of recovery with the option prompt orders..., that way I can activate the hidden administrator because I forgot my password of the computer... rather than editing the registry with the cmd... It says on the top of the command prompt x administrator cmd prompt and on the guest herself said x source then the guest... I thought that I can activate the admin hidden here coz he said administrator on the top of the program but it won't let me activate the admin hidden using this command: "net user administrator / Active. ": Yes" he says: successfully completed, but after I rebooted the computer the hidden admin did not appear on the menu of connection of users, I can activate the admin hidden with this command. "net user administrator / Active: Yes" through connection to a normal startup, then proceed to the command prompt with administrator previledge, but not through, dvd environment then recovery recovery menu system, the command line option... is one way or shortcut to the command prompt with admin previledge as the high cmd prompt the normal start standard? Please please help... I want to do coz I forgot my password for admin user computer, there is no other user account on the computer... "Please help, guru of the computer/engineers/programmers out there," and I thank you so much all the response I get, and God bless the guy more... «what I wanted to say that I can make the order: "net user administrator / Active: Yes" in the connection of nomal startup is coz I tried on another computer with windows vista 64 bit...» "but I forgot my computer password... I know how to edit the registry, although to allow the hidden via the recovery environment option administrator cmd menu but I want the shortcut... thank you once again,
Hi Robert,.
The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the link below.
http://social.technet.Microsoft.com/forums/en-us/itprovistasecurity/threads
Hope this information helps.
-
How to get values from keyboard?
Hi friends,
I want to get the data of the main features of the keyboard of the device.
I use the canvas and RIM keyListener implementation.
the substitution of the canvas keyPressed() and RIM keyDown()
but impossible to get the alphabetic values (I mean when we click on a, b, c, d, z I want to print on the console)
How can I get this feature.
Thank you
Maury.
The KeyListener interface should not be used in a MIDlet application. UI classes cannot be mixed between what exists in the MIDlet/J2SE and BlackBerry CLDC Application API.
I'm not 100% is your goal. Can you elaborate on the problem?
-
How to get values page, component and menu of Peoplesoft from the page?
Hi all
We used Peopletools 8,4 x previously where it is used to make a comment on the page of peoplesoft something of this form:
<!--IE/6.0/WINNT; ToolsRel = 8.44.17; Page = INV_ITEMS_DEFIN1; Component = ITEMS_INQUIRY; Menu = DEFINE_ITEMS; User = VP1; DB = PSFT844/ORACLE; AppServ = / / INSIGHTVMPS2:9000; ->
We had set some debug and trace options in the configuration of the web profile, as shown in the picture as an attachment to get this comment. We have improved at 8.54, and we don't get these values in the commentary. Is there anyway that we can retrieve these values? Any help in this area would be extremely useful.
So when you press Ctrl + J or Ctrl + J twice on the page, nothing happens?
You use IE9?
Try Ctrl + Shift + J
-
How to get values of a text at a reading area
Hello
I need to compare the value in a textbox control when playing with my database value.
It is web.textBox () .setText to set a text, but is there a way to get the data to screen during playback.
Please suggest
Thanks in advance
Hey...
web.textBox("").getAttribute ("value");
See you soon
Dembélé M
-
How to get values of trigger-assigned during a taskflow
Hi, OTN,.
I have a taskflow bounded, where one of the activities is a view with the entry form to create a record in a table in db.
Some field values are assigned by database trigger. I need to use them later during the same taskflow.
So I need to run until the transaction is committed the trigger. And to get the values of trigger-assigned to createWithParams in the same taskflow.
Of course, the operation should START when taskflow is called and ENGAGED only in the end.
I'd be happy to hear some tips. Thank you.
JDeveloper 11.1.1.1.0. The only way you can trigger database triggers is to display the data.
If you do not want to commit, you can use DBTransaction.postChanges ();
But watchout because it is not hollow validation cyrcle so you can display invalid values.
(Remember the attributes that are populated by definition of refresh database triggers after that insertion and/or refresh after update)
-
How to get values such as 'USER_ID Role1, Role2, 3'
Hello
Table contains columns USER_ID and roles.
Select user_id, USER_ROLES roles;
Developer of 1001
1001 analyst
1001 lead
I'm looking for output like
Lead developer, analyst, 1001
Please guide me.
Kind regards
Vincent. Like this...
SQL> ed
Wrote file afiedt.buf
1 with t as (select 1 as user_id, 'Developer' as role from dual union all
2 select 1, 'Analyst' from dual union all
3 select 1, 'Lead' from dual union all
4 select 2, 'Developer' from dual union all
5 select 2, 'Analyst' from dual)
6 -- end of test data
7 select user_id, ltrim(sys_connect_by_path(role,','),',') as roles
8 from (
9 select user_id, role, row_number() over (partition by user_id order by role) as rn from t
10 )
11 where connect_by_isleaf = 1
12 connect by user_id = prior user_id and rn = prior rn+1
13* start with rn = 1
SQL> /
USER_ID ROLES
---------- ----------------------------------------
1 Analyst,Developer,Lead
2 Analyst,Developer
SQL>
-
How to get the user directory in HTML5 extension?
Hello
It may be too easy as well, but I am running with no luck here.
I am beginner in developing extensions to HTML5. First time I'm developing InDesign CC extension in HTML5. Before that, I used it to develop in Flex (AS3). SE directory of the user with the AIR API was pretty easy with the File class as: (File.userDirectory.nativePath). But with the HTML5 extension I do not know how to get it with Javascript.
I tried with two or three ways but no luck.
I tried:
var systemPath = new SystemPath();
alert(systemPath.APPLICATION);
It says no "defined."
I also tried with a different API:
var tmpDir = OS.Constants.Path.tmpDir;
It says «Undefined OS»
Can someone please advise on this?
Thanks in advance
Mac
Try this,
var csInterface = new CSInterface();
Alert (csInterface.getSystemPath (SystemPath.user_data));
You can follow this link,
http://www.davidebarranca.com/2014/01/HTML-panels-tips-2-including-multiple-jsx/
Thanks to M. Davide, his advice will help a lot of newbies (whose too)
It will be useful,
Best...
AI
-
How to get performance counter stats for virtual machine?
Hi again,
I managed to connect to the web service using VI SDK 2.5 and I can't what are virtual machines installed on the host system. I want to get the VMS performance counter values. How to get values of virtual machines performance counter?
try {
service = util.getConnection () .getService ();
SIC is util.getConnection () .getServiceContent ();.
perfMgr = sic.getPerfManager ();
Utils VMUtils = new VMUtils (util);
The list of virtual machines on a host
ArrayList vmList = utils.getVMs (null,null,null,null,null, arg,new String [1] [2]);
I havef(vmList! = null) {}
System. .println ("Host a" + vmList.size () + "virtual machines");
System. the.println ("name vm" + vmList.get (0) m:System.NET.SocketAddress.ToString () + "vm 2" + vmList.get (1) m:System.NET.SocketAddress.ToString ());
}
}
catch (Exception ex) {
ex.printStackTrace ();
}
Clues?
! http://communities.VMware.com/images/emoticons/sad.gif !
Hello
In order to obtain the performance counter for a managed entity, you must have following:
1. get the managed object to the PerformanceManager object reference
2 get the ProviderSummary object for this entity. It also helps determine if the current or summary statistics are supported.
3. get performance metrics available for the entity. In a given time interval, the statistics will be available for these measures.
4. the performance statistics for the entity desired metrics extracted from the step above queries
5 examine the returned data object to get the statistics.
Attached, is an example of Java, which takes the name of the virtual machine, run the steps above and print the available counters and their stats. You can take the help of this example and can improve to get statistics for all the virtual machines in your host application.
Hope this information is useful.
-Neha
-
using PostDelayedCall how to get the value passed through void * callbackData?
Can someone tell me how to get the data passed through void * callbackData?
The following code, panel_ptr has the right address but still contains zero.
void CVICALLBACK value_changed (void * callbackData)
{
int * panel_ptr;
panel_ptr = callbackData;
calculate_new_value (* panel_ptr);
}
int sign;
Panel = 2;
PostDelayedCall (value_changed & Panel, 0.2);
The problem is using the callbackData parameter if it is a pointer, it must be a pointer to something which is still topical at the moment that the callback executes. That is to say, you cannot pass the pointer to a local variable in callbackData as when the callback executes the pointer is no longer valid. You can switch from its value, instead, in this way:
... SomeFunction)
{
int sign;
...
Panel = 2;
PostDelayedCall (value_changed, (void *) Panel, 0.2);
...
}
void CVICALLBACK value_changed (void * callbackData)
{
int panel_ptr;
panel_ptr = (int) callbackData;
calculate_new_value (panel_ptr);
return;
}
There are many discussions on the forums on callbackData parameter that you might want to read.
-
How to get the value of the outputtext in javascript and send it to backing bean
Hi Experts ADF,
JDev Version 11.1.1.7.0
I have the following: the value of the outputtext must be treated in javascript and the serverlistener method has the same value. I founded this value returns a string that wshould see the mouseover NIJ.
Help, please. Thanks in advance.
< af:column sortProperty = "#{bindings." OrderProposalReadClient.hints.exceptions.name}.
filterable = "true" sortable = "true".
headerText = "#{suiviewBundle.EXCEPTIONS} '"
ID = "c16" >
< af:outputText value = "#{row.exceptions}" id = "ot32" clientComponent = "true" > "
< af:clientListener type = "mouseOver".
method = "customJsFunction" / >
< af:serverListener type = "mycustomserverEvent".
Method="#{pageFlowScope.ChangeOrderProposalBean.handleServerEvent}"/ >
< / af:outputText >
< / af:column >
JavaScript
< af:resource type = "javascript" >
var customJsFunction = function (event)
{
var exceptiondata = AdfPage.PAGE.findComponentByAbsoluteId ('ot32');
AdfCustomEvent.queue ();
Returns true;
}
< / af:resource >
BackingBean
public String handleServerEvent(EC ClientEvent)
{
Please let me know how to get the value that javascript code sends here.
Let's say javascript sends the value of outputtext as "001".
So, I have to check "001" in my list and return a value that appears on mouseover.
}
Kind regards
Roy
Hello, Roy.
To use the value on another component of the user interface, I shows an example:
-code of the page
shortDesc = "shortDesc" >
method = "customJsFunction" / >
-the javascript code
var customJsFunction = function (event)
{
var exceptiondata = event.getSource ().findComponent("ot32").getValue ();
AdfCustomEvent.queue (event.getSource (),
"mycustomserverEvent,"
{param1:exceptiondata},
(true);
Returns true;
}
-OutputTextCase11.java
public void handleServerEvent (EC ClientEvent)
{
String param = (String) ce.getParameters () .get ("param1");
RichOutputText outputText = (RichOutputText) ce.getComponent () .findComponent ("ot1");
outputText.setShortDesc (param);
outputText.setValue (param);
AdfFacesContext.getCurrentInstance () .addPartialTarget (outputText);
}
I hope this helps you.
RFH.
-
Hi all
I'm calling javascript from COM (c#) and it works fine. Passing parameters to javascript and playback by using the syntax of the [x] arguments also works very well.
What I can't seem to get to work is to know how to move something from javascript to the calling COM Summoner, in this case, c#. How and where should I place the return value in javascript?
Thanks in advance.
Rachiud
doScript() evaluates an expression, so just make sure that your Javascript is an expression.
For instance "(3 + 3)" 6 "
-
I use lv 8.5 and teststand 4.0.
I did a step type custom and recorded at the MyTypes.ini in pallets of type.
I specified a default module by opening the properties of the custom step of *.ini type window, then I put some values of the parameters.
T1) when I open teststand and I add the custom step type manaully in seq file, the labview module parameter values are represented.
But, if to use file (create and add support prototype stage), the labview module parameter values has the default value.
Using joint file, how to get the setting custom step type values I put in *.ini?
Q2) each type of step are automatically by name through the use of LoadTypePaletteFilesEx. When I open teststand and I add the custom step type manaully in seq file, the module is loaded automatically. Inside the attachment, I use a prototype of charge and a fixed path where the module labview is to load the labview module.
Can I load module automatically without using a prototype of charge or how can I get a dynamic path of type step?
I solved Q1 for myself by using the mapping tab of the parameter within the configuration to the default module window.
Everyone knows Q2?
Thank you.
-
How to get the input of a PromptDialog value?
I went through the docs and cannot find how to get the value of the entry of a PromptDialog. Someone at - he of the ides?
In this doc:
http://www.BlackBerry.com/developers/docs/airapi/1.0.0/index.html
It seems that the text property is what you take. Have you tried that?
-
How to get IMEI number with phonegap app by using Javascript?
Hello
I suffer on this the last 2 days to get the IMEI number in phonegap app by using javascript.
I found all things related to Phonegap with Android, but I want to get the IMEI number with phonegap app by using javascript/JQuery according to requirement.
Could you please give me the process step by step to get the IMEI number with phonegap app with javascript/JQuery?
Thanks in advance.
Thank you
Jayaram
You can use the cordova-plugin-device plugin for a UUID of the device (this api is the same on iOS, Android,...)
This isn't exactly the same as the IMEI, but it is unique enough to identify the device, while protecting the privacy of the owner of the phone.
If you need to get the IMEI, then google is your friend. This [1] was the first result when searching for "imei cordova.
There's a good stack overflow article here [2] which has the disadvantage of using this value and encourage you to consider other ways to identify users, because users cannot trust your application if you ask for this info. Read the accepted answer.
[1] GitHub - aquto/cordova-plugin-imei
[2] http://stackoverflow.com/questions/1972381/how-to-get-the-devices-imei-esn-programmaticall y-android
Maybe you are looking for
-
Cannot install the Trusted Platform Module Driver / software
I am not able to install the driver of the TPM secure and so I'm not able to install the TPM software... I have a satellite u200, and it's on my tools and utitilities cd. Installation always says "Trusted Platform Module not found" someone at - it th
-
AVG2011 scan found this issue. I have a lot of trouble opening any window.
-
SD card to F: drive / drive
My sd card reader does not work now. It just happened recently and I always use SanDisk sd cards. Please help me. That's my F: / Player.
-
Download and installation of MEMTEST86 +.
I would lik to run MEMTEST86 + on my PC and so I went on their website and download options have installers integrated into the file. The options available are pre-compiled Bootable ISO .qz or .zip. I think that the .zip would be one that I would cho
-
How can I get password for player
How can I get password for player