Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

jQuery Split String into Array to set value Tabular form(dynamic action)

Ramani_apexNov 11 2015 — edited Nov 11 2015

I have LOV item with values as 3:4:5

these value need to insert in tabular form column with one by one when i fire the new rows.i tried many way but cant reach the requirement.

jQuery Split String.PNG

$(function () {

$('#REGION_STATIC_ID').click(function () {

var str = $('#P3_EMP_LIST').val();

var strarray = str.split(':');

for (var i = 0; i < strarray.length; i++) {

//unlimited rows will fire ,so how can mention the rows?

$('input[name="f04"]').html("<span>"+strarray[i] + "</span></br>" + "<span>"+strarray[i]+"</span></br>"+"<span>"+strarray[i]+ "</span></br>");

}

});

})

workspace: ram_r&d

user/password: test/test

apps: https://apex.oracle.com/pls/apex/f?p=71482:3:110799279427535::NO::P3_DEP_LIST:40

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 9 2015
Added on Nov 11 2015
0 comments
577 views