-
-
Save Munter/2114673 to your computer and use it in GitHub Desktop.
a guest on Mar 19th, 2012 - pastebin.com/VxS6ZWqg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function set_new_material(materialObj) { | |
alert(document.getElementById('paper_finish').value); | |
document.getElementById('paper_finish').value = materialObj.finish; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="external.js"></script> | |
<script> | |
var new_materials_screen = open(url, windowname, 'width=1200,height=800,scrollbars=yes,menubar=yes'); | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="external.js"></script> | |
<script> | |
var materialObj = { | |
materialid: materialid, | |
finish: finish, | |
colour: colour, | |
adhesive: adhesive, | |
material: material, | |
cost: cost, | |
moq: moq, | |
vendor_name: vendor_name, | |
ring_for_price: ring_for_price, | |
product_id: product_id, | |
number_of_vendors: number_of_vendors | |
}; | |
set_new_material(materialObj); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment