jquery - Error within Javascript function -


 <कोड> & lt; cffunction नाम = "getBackgrounds" पहुँच = "सार्वजनिक" returntype = "क्वेरी" & gt; & Lt; cfargument name = "dsn" प्रकार = "स्ट्रिंग" आवश्यक = "सच" / & gt; & Lt; cfargument name = "page" type = "string" आवश्यक = "गलत" / & gt; & Lt; cfset var getBackground = "" / & gt; & Lt; cfquery नाम = "getBackground" डेटा स्रोत = "# आर्ग्यूमेंट्स.डिसेन #" & gt; चयन page_id, page_photos से तस्वीर कहां page_id = & LT; cfqueryparam cfsqltype = "cf_sql_integer" मूल्य = "# ट्रिम (arguments.page) #" / & gt; & Lt; / cfquery & gt; & Lt; cfreturn getBackground & gt; & Lt; / cffunction & gt;   
  jQuery (समारोह ($) {$ .supersized ({slide_interval: 6000, संक्रमण: 1, transition_speed: 1000, slide_links: 'असत्य', स्लाइड [ & LT; cfoutput क्वेरी = "getBackground" & gt; {image: '# getBackground.photo #'} & LT; cfif getBackground.CurrentRow lt getBackground.RecordCount & gt; & lt; / cfif & gt; & lt; / cfoutput & gt;]});} );   

लेकिन मुझे एक त्रुटि मिलती है मैंने इससे पहले कुछ करने की कोशिश की और यह काम कर रहा था, लेकिन मुझे ये उदाहरण वापस नहीं मिल सकता है क्या कोई यह देखता है कि मैं क्या कर रहा हूं?

आप त्रुटि का उल्लेख नहीं था ... यह क्या कहता है? ? आप उत्पन्न जावास्क्रिप्ट शामिल कर सकते हैं

इसके अलावा, एक और तरीका सरणी को भरने के लिए तो जैसा होगा:

 <कोड> & lt; स्क्रिप्ट & gt; Var arr = []; & Lt; cfoutput query = "getBackground" & gt; Var img = {}; Img.image = '# getBackground.photo #'; arr.push (img); & Lt; / cfoutput & gt; & Lt; / स्क्रिप्ट & gt;    

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -