Hi , intosana, thanks for your reply ... but i didn't get my desired out put.
here is my complete code
[code=php]
$products = array(
array('product_ type'=>'bmw', 'product_color' =>'green', 'quantity'=>'4' ),
array('product_ type'=>'audi', 'product_color' =>'red', 'quantity'=>'6' ),
array('product_ type'=>'bmw', 'product_color' =>'green',...
User Profile
Collapse
-
-
hello intosana,
I too need something similar to ur requirement. What i want is , instead of grouping the matching products.
i need to add a new key say 'referenceid' to the matching elements.
I need the output like
1. array('bmw', 'green', '4','123');
2. array('audi', 'red', '6', '0');
3. array('bmw', 'green', '7', '123');
Please advice how to achieve this....Leave a comment:
-
Can u explain it in detail?
here is my code
<html>
<head>
<script language="javas cript">
function createTxtbox()
{
--------------
-----------
}
</script>
</head>
<body>
<form name="my form">
<select name="qual_no" id="qual_no" onChange="retur n createTxtbox()" >...Leave a comment:
-
drop down list onchange event
Hai friends.I have a pblm with my drop down list onchange event.The pblm is as follow
I have a drop drown list with items 1,2 ,3 etc.
On selecting an item from the drop down list i want to populate that much text boxes for entering values.for example if i select 3 , three text boxes are to be created.if 1, one text box like that. So with out reloading this page can i achieve my need?Most...Leave a comment:
-
drop down list onchange event
Hai friends.I have a pblm with my drop down list onchange event.The pblm is as follow
I have a drop drown list with items 1,2 ,3 etc.
On selecting an item from the drop down list i want to populate that much text boxes for entering values.for example if i select 3 , three text boxes are to be created.if 1, one text box like that. So with out reloading this page can i achieve my need?Most of the time the funtion for reloading... -
Textbox validation
Hai friends i have a problem with my code.When my form get loaded it will contain the rollno, name and textbox to enter mark of the students.These are fetched from my table named details.The marks are to be entered by the enduser.The thing i want is that when i click the submit button on this form, i want to check whether all the marks are entered.I want to validate these textboxes.Can i use onblur event to do this validation?If so, how i can apply... -
slekshmipriya started a topic select ID in drop down list and show name in text box without clicking submit buttonin Javascriptselect ID in drop down list and show name in text box without clicking submit button
when the user select the employeeid in drop down list, it
will
fire the onchange event, and then look up database and show the employee
name in the text box. There is no submit button.
pls help me
No activity results to display
Show More
Leave a comment: