FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » another value passing problem
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
another value passing problem [message #183660] Wed, 06 November 2013 19:39 Go to next message
Mr Oldies is currently offline  Mr Oldies
Messages: 241
Registered: October 2013
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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] Wed, 06 November 2013 20:35 Go to previous message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Mysqli or PDO Persistent prepared statements
Next Topic: Trying to create a .bat file for windows using fwrite(
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Dec 14 17:26:03 EST 2017

Total time taken to generate the page: 0.00652 seconds