How to get selected key/values from a select box in javascript

Here is the demo on how we can get selected keys and values from a drop-down box. A select box: Get selected option texts: Get selected the values: Full code: Demo: JavaScript – Get selected values from dropdown select box JavaScript – Get selected values from dropdown select box — Select —IndiaUnited StateMalaysia Get Selected 

Continue Reading →

How to load data in custom table using dataload in WebSphere Commerce(WCS)

Load data in custom table using dataload When there is a requirement to load data in custom created table using dataload then OOB dataload utility provides a Mediator called “TableObjectMediator” which can be used for such purpose, this technique does not require any coding and can be quickly setup by defining configuration files to map 

Continue Reading →

Dojo Refresh Area (AJAX Request using DOJO) in WCS

Here I’m describing the steps that how we can easily work with dojo refresh area. 1.  Create a refreshable div of dojo 2. This line is used to initialize the parameters of a included js in a page. 3. Entry in CommonContextsDeclaration.js Note: Please check the commas or semicolon after or previous this statement. 4. 

Continue Reading →