Hi,
I have a parent window opening a child window through window.open. The parent window is on http www.abc.com and the child window is opened on http www.abc.com as well. I have a Javascript file on the parent window that the child window looks at to communicate. When the parent window is on http www.abc.com, both windows are communica...
Hi everyone,
I have two tables with a parent-child relationship. I would like to copy some of their records to two other tables, also with a parent-child relationship, but with a slightly different table structure.
There is a foreign key involved with both sets of tables, an integer column. All tables have the identity increment on...
I need to create an interface that upon selection of a parent multi select, it updates a child multi select of options. It is intended that the parent multi select can have none, one or many options selected and the child element displays a union of items that both parents have (or falls back to all items).
Take for example:
When pare...
I have the following ASP classic function:
function get_children(n)
dim local_array
dim parent
dim path
if n.hasChildNodes() then
for each child in n.childNodes
local_array = array_merge(local_array, get_children(child))
next
else
set parent = n.parentNode
while isobject(parent)
path = parent.nodeNa...
I'm working on a CMS system that receives urls like this:
/parent1/parent2/child/
Now it's easy to check only the child but in my opinion you should also check if the parents are correct and in the right order. The problem is that I'm unsure on how to do this.
I'm using mysql. this is how that table would look:
CREATE TABLE IF NO...
Spent a few hours on this and need some expert help.
I have a table like this:
[id] [name] [parent_id]
1 fruits 0
2 orange 1
3 lemon 2
4 steak 0
When I go to lemon, I want the breadcrumb to be like:
Home > Fruits > Orange > Lemon
And lemon not to be a link but the rest to be a link.
Any suggestions?
The best I f...