Welcome Guest, Not a member yet? Register   Sign In
javascript/css style
#1

(This post was last modified: 12-14-2014, 07:24 PM by jaysondotp.)

i have javascriprt function that there is an id name and i need to call the value into html.   now it is possible to add the id name inside my html value, particular in input text value.

example.

i have id from javascript. #itismyidname
PHP Code:
$("#itismyidname").html('<img src="images/ajax-loader.gif" />'); 

here is what i want,
PHP Code:
<input type="text" size="20" name="code[]" value="<span id = 'itismyidname'></span> " /> 


if it is possible kindly advice..

 
Reply


Messages In This Thread
javascript/css style - by jaysondotp - 12-14-2014, 07:23 PM
RE: javascript/css style - by trentramseyer - 12-14-2014, 11:56 PM
RE: javascript/css style - by jaysondotp - 12-15-2014, 08:32 PM
RE: javascript/css style - by jaysondotp - 12-15-2014, 10:58 PM



Theme © iAndrew 2016 - Forum software by © MyBB