I have an HTML table having n rows and each rows contain one radiobutton in the Row.Using jQuery , How can i look thru these radio buttons to check which one is checked ?
I'm trying to create a grouped table view with two sections. For the first section I would like the width to be only half the screen. For the second section it would be the standard width. Also, next to the first section I would like to put a button.
How is this done?
Thanks!
I have table that gets dynamically created.
When using jQuery and toggle, everything works. I however get a small visual glitch - it seems the HTML sometimes get selected. How would I disable this on a faulty drag or mouse operation?
Is there a difference in the DOM between text in a cell and 'not text' or buffered space in a td?
Thanks in advance.
I have structure as shown in the fiddle http://jsfiddle.net/5LN7U/.
<section class="container">
<section class="field">
<ul>
<li> Question 1 </li>
<li> question 2 </li>
<li> question 3 </li>
<li> question 4 </li>
<li> question 5 </li>
<li> question 6 </li>
<li> question 7 </li>
</ul>
</section>
<section class="datawrap">
<section class="datawrapinner">
<ul>
<li><b>Answer 1 :</b></li>
<li><b>Answer 2 :</b></li>
<li><b>Answer 3 :</b></li>
<li><b>Answer 4 :</b></li>
<li><b>Answer 5 :</b></li>
<li><b>Answer 6 :</b></li>
<li><b>Answer 7 :</b></li>
</ul>
</section>
</section>
</section>
Basically its a table structure made using divs. The first column contains a long list of questions and the second column contains answers/multiple answers which can be quite big ( there has to be horizontal scrolling in the second column.)
The problem i am facing is when i scroll downwards the second column which has the horizontal scroll bar is also scrolling downward. I want horizontal scrollbar to be fixed there. as in it should be always fixed there no matter how much i scroll vertically.
Much Like Google Spreadsheets: where the first column stays fixed and there's horizontal scrolling on rest of the columns with over vertical scrolling for whole of the data.
I cannot used position fixed in the second column.
P.S : please no lectures on using div's for making a table structure. I have my own reasons.
and its kinda urgent. Thanks in advance.
HI,
i have a table,
new_id----old_id----created_on
1234------5678------20100912
5678------3456------20100808
etc.
i wrote this query,
$q = "select event1.new_id, event1.old_id, event1.created_on,event2.new_id, event2.old_id, event2.created_on
FROM replaced_isbns event1
JOIN replaced_isbns event2
ON event2.new_id = event1.old_id
WHERE event1.new_id='$id'";
but i get result as
5678 - 1234, ie only one row, i want all rows...
plz help me.
Thanks,
SLC
I have a mysql table set up like so:
user_id | document
44 [blob]
44 [blob]
44 [blob]
46 [blob]
I'd like to export all of user_id 44's data to an SQLite3 file.
Best way to go about this without writing a script that reads the data and dumps it into a SQLite file?
I have an entity which has 4 different types of property that could have only one value for each case which are boolean, decimal, string or text. I don't want to define the table with 4 boolean, decimal, nvarchar and ntext columns. What would you recommend to cover this case?
I need a table control where one can edit properties by various ways, just like editing properties in Visual Studio (it's for XML editing). Does anybody know about something like that, written by others, or maybe a solution from MS itself?
Hey all,
I have a table Logins { Id, AccessTime }, I'd like to write a query that returns 3 columns, Total Logins during a time period, Unique Logins for a time period, and the Id of the user.
I know I could do this with two passes and a join, is there a better way to do it in a single pass?
Thanks,
~P
hello all i hav a table named address which has id, title and parent_id fields. in title column the name of regions and districts are inserted. the regions have parent_id zero and parent_id of the districts are id of the regions. i want a query which display regions in one column and its respective districts in another column. hope u guys understand what i mean..
thank u all.
I have a SQL table it has more than 1000000 rows, and I need to select with the query as you can see below:
SELECT DISTINCT TOP (200) COUNT(1) AS COUNT, KEYWORD
FROM QUERIES WITH(NOLOCK)
WHERE KEYWORD LIKE '%Something%'
GROUP BY KEYWORD ORDER BY 'COUNT' DESC
Could you please tell me how can I optimize it to speed up the execution process? Thank you for useful answers.
I have a table like this
foo(id, parentId)
-- there is a FK constraint from parentId to id
and I need to delete an item with all his children and children of the children etc.
anybody knows how ?
i have a table like this:
1 x y
2 a
3 b
4 c d e
i want to use a sql statement to turn it into this:
1 x
1 y
2 a
3 b
4 c
4 d
4 e
i am having trouble building the sql statement. please help!
I have a question regarding the Sql Joins.
whenever we join two different tables on some fields.
what will happen exactly inside oracle which will result in the query output.
will there be a temporary table created just for presenting the query output.
I want to take the id of the most recent item in a database, increment it by one and insert that new id in to another table.
I tried:
$select = mysql_query("SELECT id FROM tableName ORDER BY id DESC");
while ($return = mysql_fetch_assoc($select)) {
$id = $return['id'];
$newId = $id++;
}
mysql_query("INSERT INTO anotherTable (someColumn) VALUES ('$newId')");
But it didn't work. How can this be done?
I want to connect my Table adapter with the Oracle, for that I am preparing a sql query with the query builder. The query which is running fine in Oracle but makes syntax error with query builder.It shows unable to parse the query text. I am using case statement and joins within the query.
i have a string like this
something = "something, something1, "something2, something else", something3"
i need it to be read into a table like this:
field1 = "something"
field2= "something2"
field3 = "something2, something else"
field4 = "something3"
please notice that the double quotes in the something string signified that the string inside the quotes is to be placed in one field
anyone know how to do this with an insert into statement or some other way? the answer can be purely sql or can be vba with sql.
thanks!
i'm trying to find table sorting and paginating script, and i've found a good one, but there is some problem i can't understand anyway.
look at demo please
the pagination must be in the center, but in IE it on the left side.
i've download the script and try to correct it, but i can't.
maybe you can understand what is the problem, or maybe can give the link on another such script, which works on all browsers.
thanks
I created a query in Microsoft Access like the one below:
SELECT Deliverables.ID, Deliverables.Title, Deliverables.Summary, Deliverables.Header_Code, Deliverables.Header_Code.Value, Deliverables.Sort_order, Deliverables.Pillar, Deliverables.Pillar.Value, Deliverables.Misc_ID
FROM Deliverables
WHERE (((Deliverables.Pillar.Value)="Link Building"));
But my problem is that this query locks my fields and I cannot make changes to the table using the query view.
Any suggestions? I am using Microsoft Access 2007
Can anyone share me how does youtube stored video related information in there tables ? What would be the table structure and what would be the various columns in tables and the relations between them ?
Thanks in advance
I need to check if this index not exist in specific table name not in all tables
because this select statement select all indexes under this condition.
IF NOT EXISTS (SELECT name from sysindexes WHERE name = 'IDX_InsuranceID')
CREATE NONCLUSTERED INDEX [IDX_InsuranceID] ON [dbo].[QuoteInsurances]
(
[InsuranceID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 80) ON [PRIMARY]
GO
Thanks,