unemployment Posted June 10, 2011 Share Posted June 10, 2011 I built a private messaging system and I want to add peoples user names via a span in the input box. Facebook used to do this. I already made the auto suggest search for "friend", now I need to add in their names. Please give me some suggestions on how to do it. Link to comment https://forums.phpfreaks.com/topic/238997-add-spans-to-an-input/ Share on other sites More sharing options...
fugix Posted June 10, 2011 Share Posted June 10, 2011 can you give me an example of what you are trying to do, i dont fully follow Link to comment https://forums.phpfreaks.com/topic/238997-add-spans-to-an-input/#findComment-1228052 Share on other sites More sharing options...
unemployment Posted June 10, 2011 Author Share Posted June 10, 2011 can you give me an example of what you are trying to do, i dont fully follow I'm trying to build this http://awesomescreenshot.com/023en3t5a without the lightbox effect. I just don't know how facebook does it. Link to comment https://forums.phpfreaks.com/topic/238997-add-spans-to-an-input/#findComment-1228056 Share on other sites More sharing options...
fugix Posted June 10, 2011 Share Posted June 10, 2011 either that is not an actual input box or they are setting some sort of onchange event to display window.form.value=the names out of the db inside of a span or div Link to comment https://forums.phpfreaks.com/topic/238997-add-spans-to-an-input/#findComment-1228064 Share on other sites More sharing options...
unemployment Posted June 10, 2011 Author Share Posted June 10, 2011 either that is not an actual input box or they are setting some sort of onchange event to display window.form.value=the names out of the db inside of a span or div The later of what you said is how they are doing it. I think I've figured it out. Now just time to do it! Link to comment https://forums.phpfreaks.com/topic/238997-add-spans-to-an-input/#findComment-1228070 Share on other sites More sharing options...
fugix Posted June 10, 2011 Share Posted June 10, 2011 either that is not an actual input box or they are setting some sort of onchange event to display window.form.value=the names out of the db inside of a span or div The later of what you said is how they are doing it. I think I've figured it out. Now just time to do it! heh...yeah, shouldn't be too difficult, but im expecting to see you post another thread about it. Link to comment https://forums.phpfreaks.com/topic/238997-add-spans-to-an-input/#findComment-1228114 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.