How do I know the current line of javascript
Apex 4.2A Javascript function uses the following jQuery statement to access certain values of the element "tabular":
$('input [name = "f01"]') [0]
But to refer to point of the line, I need to know which line the column element was clicked.
The function is taken on an attribute column-> attributes of the element-> onClick = "javascript:f_setglp (this); »
How is it possible?
Any help is very appreciated.
Hi JVO,.
with this setting you can get the line number in the table of the property id.
For example, the entry with the name f01 element will have an id of f01_0001 for the first row, f01_0002 for the second row, etc.
The $(this).attr("id") of jQuery education you will get the value of the id and with the substr, you get the line number.
Because the use of jQuery table to access the input elements is zero-based you must subtract 1 from the line number to access the right items.
To get all the other entry in the same line as the clicked element you can use this:
$(this).closest('tr').find('input');
Kind regards
Erik-jan
Tags: Database
Similar Questions
-
How do I know the current patch or version 11 g
How to know the current version of the 11g with patch Info?Check this box
http://obi9.blogspot.com/2012/11/determining-current-patch-levels.htmlIf brand pls help
-
How selectBooleanCheckbox can set the current line?
Hello
Using ADF Faces 10 g, I have an af:table component that is read-only, but the last column contains an af:selectBooleanCheckbox. This checkbox is used to 'activate' and 'disable' to each line. When I click on the box, I need the valueChangeListener be aware which line has been activated (so that I can then make some changes on this line to toggle). By clicking on the box to check must call setCurrentRow, or at least pass on values I can use later to set the current line manually.
My first thought was setActionListener, but it seems that it may not be combined with af:selectBooleanCheckbox. I searched and found the following post:
HOW to set an ID for the component from variable
and after reading this I tried setPropertyListener, once again, I found that this is not a valid child of af: selectBooleanCheckbox. The post dry with nuansantio mentioning several times that setActionListener and setPropertyListener cannot be used, but there is no other comments on a solution.
Any thoughts on how I can get this to work?Hello
Could you elaborate more about
I need to make a number of manual steps (invoking request Module) when the user selects / disables the check box
You can pretty much add a method in your Impl VO (who did all the steps you want to do) and call the method in an expression for the value of groovy / call it in valueChangedListener of the box?
Arun-
-
How do I know the current month
Hi Everibody,
I need to know if there is a function o something in Hyperion to calculate the current month.
Thank you!!!
Edited by: Dieguinho on 22/07/2010 13:36you mean current month is the current month?
Then, we can automate the input of the variable current month using the batch program by choosing the date system.
You can use the variable to calculate the data for the current month. -
How can I know the date of my current windows installation?
How can I know the date of my current windows installation?
Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).SystemInfo | moreIt is up. -
How to mark the current line in the grid forms
How to mark the current line in the grid of forms in formsThere is no grid in use in forms
However, you were using the ORACLE spreadsheet in the OCX element before 10g in forms5.
You can use the property of coloring of the ORACLE worksheet if you use older forms.If you speak the text displayed in the instances multile means with more display records. then you can use the Visual Attirbute
and may affect the block attribute in current folder to the Visual attribute you make now. -
How to set programmatically the current node in a tree view of the ADF.
Hello
I'm trying to understand how to set programmatically the current node in a tree view of the ADF.
My use case example is quite simple; If we take the sample application ADF Summit where under Management Summit, we have a tree view on the left with a list of high level of the country which in turn contain a subset of customers; then, in the right pane, we the customer detail information.
What I'm trying to achieve is a solution by which I can add a new customer, commit and then to the tree show the client newly created as the currently selected entry.
I use a pop-up dialog box to create my new entry of the customer and everything works well in this area, and my newly created folder is saved in the database.
I know how to force the tree to cool off, but what I can't understand is how to do so, it highlights the newly created folder.
Any help would be much appreciated.
Refer
https://blogs.Oracle.com/jdevotnharvest/entry/how_to_programmatically_disclose_a
-
Apex 4.2Theme 21
I am able to highlight current form fields using get focus and lose focus of dynamic actions.
How to highlight the current line in the form of an updated report.
I tried to use DA with
Picker JQuery tr [headers = 'TAX'] (column in my report)
Run Javascript
$x_RowHighlight (this.triggeringElement, 'yellow');
Any help appreciated
Gus
Gusford Hello!
Try to update your JQuery selector to what follows, with a trigger event in the DA 'click ':
table. Report-standard tr
JR.
-
How do I know the delay in the redo log apply on Active 11g Dataguard
Hi all
How do I know the delay in the redo log apply on Active Dataguard 11 g...
Do we need to wait until the log switch occurs?
Or is it recommended to provide a switch to log every 15 min, regardless of data is updated / inserted in primary school or not?
Please suggest...
Oracle: oracle 11g Release 2
OS: RHEL 5.4
Thank you
Published by: user1687821 on February 23, 2012 12:02apply for time of arrival + 00 00:00:00.0 day (2) to second (1) interval February 23, 2012 03:02:16
Here apply finish time is 'Zéro' if there are gaps in log files, this parameter shows the time it will take to resolve the discrepancy.
apply the offset + 00 01:50:49 day (2) second (0) interval February 23, 2012 03:02:16
transportation of shift + 00 01:50:49 day (2) second (0) interval February 23, 2012 03:02:16the time that redo data is not available (or) on the basis of data behind pending with the primary database.
SQL >! date
Thu Feb 23 03:03:34 CST 2012If you see your date system current and last does the end is not even a second. So probably there is no delay I would say.
You can test by setting the timeout setting in log_archive_dest_2 (or) disable log_archive_Dest_2 for a while do two or three switches of newspaper and made attention to discrepancies between primary & eve and how does it point of view. -
How can I update the last line in a file.
Hello
I need to add text that should be on the 2nd last line of a text file. I get the last line using RandomAccessFile and surroundings,
updated the code above, I'm trying to add the text to the last line. But instead of add, the above code simply replaces the last line.fileHandler.seek(fileHandler.length()-1-lastLine.length()-1); fileHandler.writeUTF("last_line\r"+lastLine.replaceFirst("0x00", "0x80"));
How to solve this problem?
BR
UmerJust by adding a single line to rewrite the entire file may not be a good idea eapscially when the file is in MBs. so that is the reason why I use RandonAccessFile,.
You don't know that? HDs store files on several trays at the same spot on the Board, so you won't lose anything in rewriting.
I have also an other question. In other words, how I can I know the last line is achieved using PrintWriter?
Steps to follow:
1. read the entire file into a string
2. parse the string by using the String.lastIndexOf ("\n") to the last character of line break.
3. use printwriter to write the string up to the last line (use string.substring), then give your new data, and then enter the second part>
BR
Umer -
Background color of the current line in the interactive report
Hello
Sobebody could tell me if there is anyway simple changing of style in IR to set up the background color of the current line. In the Standard report, it is easy. Just click for the shared components > models > modify a report model
and in the section line pointing out it is an attribute to change a color.
Can someone tell me how to do in interactive report?
I want to just split one row of the other using a line color.
Thanks :)
Published by: rafix 2009-11-23 09:42Cool. Where is my correct score then: P
Mike
-
See above
I reinstalled Firefox Desktop, I downloaded my favorites of Carbonite, how can I get the current Firefox to accept?
You do backup your bookmark as a .json file?
Restoration of bookmark
-
How do I know the date purchased in the macbook pro?
How do I know the date purchased in the macbook pro?
The date of the purchase of a MBP will on reception, not in the MBP.
Ciao.
-
Tecra A8 - How can I know the temperature of the processor?
How can I know the temperature of the processor?
It seems very high. And I'm worried about this.Hello
I m using the Everest Home Edition
This tool is free and it reports the temperature values NECK and HARD drive.
In addition, you can find some information about the software installed and inserted material parts.See you soon
-
How do I know the address of the Instrument connected to my pc?
How do I know the address of the Instrument connected to my pc?
Thank you
Véronique.
Maybe you are looking for
-
You need a light behind your apple mobile, as behind the macbook, it's going to be awesome. Think you want to
-
Reduced in the coming W540 battery life?
First the good news - it's going to be a W540 http://shop.Lenovo.com/us/en/laptops/ThinkPad/w-series/w540/ Strangely the W540 shows a maximum battery life of 6 hours down from the 7.4 of the W530? 540: "battery lifeup to 6 hours with the battery 6 ce
-
Outlook 6 with Microsoft Office Word 2007 Can't turn off the option to filter applied I have 60 emails in my Inbox I tried to disable Options mode and tools in the box help No results You have problems with programs Error messages Recent changes to y
-
I'm running Windows 7 (not Vista) and trying to install a Kodak printer driver and get "cannot install the printer. Operation could not be performed. error 0x000003eb"I searched constantly everyday for a fix. You have a solution other than what answe
-
Help - cloud creative works with windows 7?
I can't creative cloud to run on windows 7. What can I do?