another value passing problem [message #183660] |
Thu, 07 November 2013 00:39 |
Mr Oldies
Messages: 241 Registered: October 2013
Karma: 0
|
Senior Member |
|
|
I know how to pass values using href side of things.
How about when the link is in "data-src"?
such as data-src="www.example.com/song.mp3"
this does not work. data-src="www.example.com/somg.mp3?x=1"
Then, how do you retrieve the value?
|
|
|
Re: another value passing problem [message #183661 is a reply to message #183660] |
Thu, 07 November 2013 01:35 |
Denis McMahon
Messages: 634 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
On Wed, 06 Nov 2013 19:39:56 -0500, richard wrote:
> such as data-src="www.example.com/song.mp3"
> Then, how do you retrieve the value?
If data-src="some_string_here" is an attribute of an html element that
you're trying to extract from the page on the client, then you'll
probably need to do something with javascript which is outside the scope
of this ng to get the value using dom manipulation and stuff it into an
ajax request to the server to deliver it to your php processing.
--
Denis McMahon, denismfmcmahon(at)gmail(dot)com
|
|
|