码迷,mamicode.com
首页 >  
搜索关键字:longest valid parent    ( 12307个结果
jquery实现页面局部刷新
后台管理中总是使用frameset进行分成部分进行管理,但是感觉很不好用,尤其是页面间调转还要判断window.parent,太令我费神了,于是学习使用XMLHttpRequest进行页面局部刷新。代码如下:Java代码456后经高手提醒,可以使用ajax技术来写,使用jquery很简单,示例如下:...
分类:Web程序   时间:2014-06-26 21:32:16    阅读次数:218
【转】 #1451 - Cannot delete or update a parent row: a foreign key constraint fails 问题的解决办法
转载地址:http://blog.csdn.net/donglynn/article/details/17056099错误SQL 查询:DELETE FROM `zmax_lang` WHERE CONVERT( `zmax_lang`.`lang` USING utf8 ) = 'fr' ...
分类:其他好文   时间:2014-06-26 21:31:40    阅读次数:204
js处理iframe中子页面与父页面里面对象的取得的解决方案
【1】子页面取得父页面的dom对象 parent.window.$('#id').val("");【2】父页面取得子页面的对象 $(window.frames["iframeName"].document).find('#subjectDg').datagrid('acceptChanges'); ...
分类:Web程序   时间:2014-06-26 20:24:06    阅读次数:228
leetcode--Longest Common Prefix
Write a function to find the longest common prefix string amongst an array of strings.public class Solution { public String longestCommonPrefix(Str...
分类:其他好文   时间:2014-06-25 17:03:03    阅读次数:331
Leetcode Valid Parentheses
Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets must close in the correct ...
分类:其他好文   时间:2014-06-25 12:44:56    阅读次数:188
Leetcode: Longest Valid Parentheses
Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring.For "(()", the lon...
分类:其他好文   时间:2014-06-25 11:07:45    阅读次数:230
无限级分类
$area = array(array('id'=>1,'name'=>'安徽','parent'=>0),array('id'=>2,'name'=>'海淀','parent'=>7),array('id'=>3,'name'=>'濉溪县','parent'=>5),array('id'=>4,'...
分类:其他好文   时间:2014-06-25 11:05:07    阅读次数:273
LeetCode: Longest Consecutive Sequence [128]
【题目】 Given an unsorted array of integers, find the length of the longest consecutive elements sequence. For example, Given [100, 4, 200, 1, 3, 2], The longest consecutive elements sequence is [1, 2, 3, 4]. Return its length: 4. Your algorithm should run...
分类:其他好文   时间:2014-06-25 07:55:42    阅读次数:244
jquery-table
获取table中选中一行的一个单元格的值varid=$(‘input:checked‘).val(); alert($(‘input:checked‘).parent().parent().index()); varrow=$(‘input:checked‘).parent().parent().index(); varstr=document.getElementById("table1").rows[row+1].cells[5].innerText; alert(str);..
分类:Web程序   时间:2014-06-25 06:21:50    阅读次数:281
如何实现底部工具栏的位置在屏幕底部
一个垂直方向的LinearLayout,包含两个View。下面一个View(工具栏)固定在屏幕底部,上面的View占据剩余的屏幕空间。<LinearLayoutandroid:orientation="vertical"android:id="@+id/vertical_layout"android:layout_width="match_parent"android:layout_height="match_paren..
分类:其他好文   时间:2014-06-24 16:57:06    阅读次数:199
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!