Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Javascript only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
Javascript
Get value of image src by id of img
Get value of image src by id of img
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
mohan30
New Member
Join Date:
Sep 2014
Posts:
1
#1
Get value of image src by id of img
Sep 3 '14, 06:48 AM
<img id="" value="apple" src="http://example.com/">
get the value apple by console.log using javascript plz anss me thank youo
Last edited by
Dormilich
;
Sep 3 '14, 07:05 AM
.
Dormilich
Recognized Expert
Expert
Join Date:
Aug 2008
Posts:
8694
#2
Sep 3 '14, 07:06 AM
you do that through the
src
property.
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment