Click here to Skip to main content
15,885,365 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I'm creating a website where users will click on Dropdownlist,and after selecting one value it populate related tasks in "Editable Div".
If task is in the database table then it populate in "Editable Div" and if it is not in Database then user inputs hashtag-"#task" like in facebook creates new task and save in Database...i an using [hashtag.js and autosize.js]jquery libraries for this but i can't save it in database.......

Div is"
<div id="myInputBox" contenteditable="true"></div>


Does anyone know how to make a text box capable for this?
Posted
Comments
You want to put a hash tag #task inside the div or what?
Mohsin Azam 23-Oct-14 5:54am    
ya...if and only if #task is not in database,then it also save in database
Sinisa Hajnal 23-Oct-14 6:11am    
And what is the problem? Saving values from the textbox into the database is the procedure you're doing every time you save some form data.

In other words, what error do you get when you try to save it to the database?
Mohsin Azam 23-Oct-14 6:14am    
first,i want to add #task in textbox if it is not in populated data and second how to save this new entry in database at run time in ASp.net Mvc4
Mohsin Azam 23-Oct-14 6:24am    
@Sinisa Hajnal and Tadit...check this
https://tagboard.com/
want same like this if tag is in database then populate ,if not then after writing in textbox and press enter save this tag in datbase....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900